Revert erroneous checkin
This commit is contained in:
parent
e35f1d1655
commit
aaaaefc090
@ -221,12 +221,9 @@ close_handle (const char *func, int ln, HANDLE h, const char *name, bool force)
|
|||||||
lock_debug here;
|
lock_debug here;
|
||||||
if (!mark_closed (func, ln, h, name, force))
|
if (!mark_closed (func, ln, h, name, force))
|
||||||
return false;
|
return false;
|
||||||
debug_printf ("here 1");
|
|
||||||
|
|
||||||
SetHandleInformation (h, HANDLE_FLAG_PROTECT_FROM_CLOSE, 0);
|
SetHandleInformation (h, HANDLE_FLAG_PROTECT_FROM_CLOSE, 0);
|
||||||
debug_printf ("here 2");
|
|
||||||
ret = CloseHandle (h);
|
ret = CloseHandle (h);
|
||||||
debug_printf ("here 3, ret %d", ret);
|
|
||||||
|
|
||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user