commit | 4e951ea25bed3e8e44f930b9e3684823e04b52bf | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Wed Nov 08 22:47:53 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Nov 08 22:47:53 2000 +0000 |
tree | 48f82af7b8af48199f819dcac6c73b62fe76ccc2 | |
parent | d3576a9f85007834a6cbc5aa33839c85681cf455 [diff] [blame] |
Check all Callouts function pointers for NULL before using them. Don't load USER dll if not needed by the application.
diff --git a/scheduler/thread.c b/scheduler/thread.c index 9647432..4b0f128 100644 --- a/scheduler/thread.c +++ b/scheduler/thread.c
@@ -374,7 +374,7 @@ else { MODULE_DllThreadDetach( NULL ); - if (!(NtCurrentTeb()->tibflags & TEBF_WIN32)) TASK_KillTask( 0 ); + if (!(NtCurrentTeb()->tibflags & TEBF_WIN32)) TASK_ExitTask(); SYSDEPS_ExitThread( code ); } }