mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 00:34:16 +01:00
Unregister waits when a client shuts down so that no further callback events can
fire for that client. BUG=117890 TEST=N/A Review URL: https://breakpad.appspot.com/365001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@936 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
1e8d2d5a4c
commit
e89a7747b8
@ -793,6 +793,7 @@ void CALLBACK CrashGenerationServer::OnClientEnd(void* context, BOOLEAN) {
|
||||
CrashGenerationServer* crash_server = client_info->crash_server();
|
||||
assert(crash_server);
|
||||
|
||||
client_info->UnregisterWaits();
|
||||
InterlockedIncrement(&crash_server->cleanup_item_count_);
|
||||
|
||||
if (!QueueUserWorkItem(CleanupClient, context, WT_EXECUTEDEFAULT)) {
|
||||
|
Loading…
Reference in New Issue
Block a user