diff options
author | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-04-23 00:47:53 +0000 |
---|---|---|
committer | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-04-23 00:47:53 +0000 |
commit | 40c9de4d8d5554ef2d33cc29fc23f24cae8099b1 (patch) | |
tree | 90565c9d41f68e69eb494e0d1ebca9ebb11b1155 /src/client/windows/crash_generation | |
parent | Fix Bigcluster build error with minidump.cc after r1147. (diff) | |
download | breakpad-40c9de4d8d5554ef2d33cc29fc23f24cae8099b1.tar.xz |
Allow option for efficient and safe opt out of in-proc dump generation for Windows breakpad clients.
https://breakpad.appspot.com/549002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1157 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/crash_generation')
-rw-r--r-- | src/client/windows/crash_generation/crash_generation_client.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/windows/crash_generation/crash_generation_client.cc b/src/client/windows/crash_generation/crash_generation_client.cc index b0d3d04d..1e86dcec 100644 --- a/src/client/windows/crash_generation/crash_generation_client.cc +++ b/src/client/windows/crash_generation/crash_generation_client.cc @@ -178,6 +178,10 @@ CrashGenerationClient::~CrashGenerationClient() { // // Returns true if the registration is successful; false otherwise. bool CrashGenerationClient::Register() { + if (IsRegistered()) { + return true; + } + HANDLE pipe = ConnectToServer(); if (!pipe) { return false; |