Replace deprecated base::NonThreadSafe in chrome in favor of SequenceChecker.
https://codereview.chromium.org/2911983003
This commit is contained in:
parent
75b41102ef
commit
ac8c205fd7
3 changed files with 6 additions and 2 deletions
|
@ -196,6 +196,7 @@ ProcessSingleton::ProcessSingleton(
|
|||
}
|
||||
|
||||
ProcessSingleton::~ProcessSingleton() {
|
||||
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
|
||||
if (lock_file_ != INVALID_HANDLE_VALUE)
|
||||
::CloseHandle(lock_file_);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue