Back out prematurely checked-in change.

This commit is contained in:
Christopher Faylor 2012-12-22 03:16:43 +00:00
parent d3a03427bc
commit e97256cf70
1 changed files with 2 additions and 2 deletions

View File

@ -48,9 +48,9 @@ class lock_process
public:
static void init () {locker.init ("lock_process");}
void dont_bother () {skip_unlock = true;}
lock_process (bool exiting = false, DWORD howlong = INFINITE)
lock_process (bool exiting = false)
{
locker.acquire (howlong);
locker.acquire ();
skip_unlock = exiting;
if (exiting && exit_state < ES_PROCESS_LOCKED)
exit_state = ES_PROCESS_LOCKED;