summaryrefslogtreecommitdiff
path: root/lib/monitor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/monitor.rb')
-rw-r--r--lib/monitor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/monitor.rb b/lib/monitor.rb
index a40d9247260..b5567475778 100644
--- a/lib/monitor.rb
+++ b/lib/monitor.rb
@@ -174,8 +174,8 @@ module MonitorMixin
mon_check_owner
@mon_count -=1
if @mon_count == 0
- @mon_mutex.unlock
@mon_owner = nil
+ @mon_mutex.unlock
end
end