Update callbacks.c

This commit is contained in:
zeffy
2018-03-02 21:14:26 -08:00
parent b87ede689f
commit af235fa17b

View File

@@ -37,7 +37,6 @@ DWORD WINAPI cb_start(context *ctx)
DWORD dwServiceType; DWORD dwServiceType;
wchar_t *str; wchar_t *str;
HMODULE hModule; HMODULE hModule;
DWORD result;
// get mutex and unload event handles from virtual memory // get mutex and unload event handles from virtual memory
if ( !ctx ) { if ( !ctx ) {
@@ -118,7 +117,7 @@ abort_hook:
// we use ctx_wait_any_unsafe here because contexts created by // we use ctx_wait_any_unsafe here because contexts created by
// ctx_duplicate_context are not initialized by ctx_create, // ctx_duplicate_context are not initialized by ctx_create,
// and have no critical section to lock, so they are only used to // and have no critical section to lock, so they are only used to
// hold static values to send to another process. // hold static handles to send to another process.
ctx_wait_any_unsafe(ctx, false); ctx_wait_any_unsafe(ctx, false);
trace(L"Unload condition has been met."); trace(L"Unload condition has been met.");