From 776be5307cf0b80ef4e623dabb37c2794eaf5fb3 Mon Sep 17 00:00:00 2001 From: wj32 Date: Sat, 28 Mar 2009 22:50:54 +0000 Subject: [PATCH] fixed incomplete migration to _asyncLock in AsyncUtils.cs git-svn-id: svn://svn.code.sf.net/p/processhacker/code@956 21ef857c-d57f-4fe0-8362-d861dc6d29cd --- trunk/ProcessHacker/FormHelper/AsyncUtils.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/ProcessHacker/FormHelper/AsyncUtils.cs b/trunk/ProcessHacker/FormHelper/AsyncUtils.cs index bf21d144a..d7db4f5b1 100644 --- a/trunk/ProcessHacker/FormHelper/AsyncUtils.cs +++ b/trunk/ProcessHacker/FormHelper/AsyncUtils.cs @@ -78,7 +78,7 @@ namespace ProcessHacker.FormHelper while (!IsDone) { - Monitor.Wait(this, 1000); + Monitor.Wait(_asyncLock, 1000); } } @@ -95,7 +95,7 @@ namespace ProcessHacker.FormHelper // up every second to check we didn't miss a Pulse. while (!IsDone) { - Monitor.Wait(this, 1000); + Monitor.Wait(_asyncLock, 1000); } }