mirror of
https://github.com/yuzu-emu/breakpad
synced 2024-11-23 21:54:00 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue