mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 23:01:05 +08:00
[fuchsia] actually clean up lock file in release mode
* the call to LoggingRemoveFile wrapped ina DCHECK is actually only executed in debug mode :-( * found the issue using zxdb! Bug: fuchsia:DX-344 Bug: crashpad:217, crashpad:196 Change-Id: I5332a17ccffd94b9bad8c61831adb797bd53a13d Tested:`crasher` on device Reviewed-on: https://chromium-review.googlesource.com/c/1364452 Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Scott Graham <scottmg@chromium.org> Commit-Queue: Francois Rousseau <frousseau@google.com>
This commit is contained in:
parent
109bece2c3
commit
1a9209b581
@ -63,7 +63,8 @@ void Settings::ScopedLockedFileHandle::Destroy() {
|
||||
CheckedCloseFile(handle_);
|
||||
}
|
||||
if (!lockfile_path_.empty()) {
|
||||
DCHECK(LoggingRemoveFile(lockfile_path_));
|
||||
const bool success = LoggingRemoveFile(lockfile_path_);
|
||||
DCHECK(success);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user