aboutsummaryrefslogtreecommitdiff
path: root/funcs.go
diff options
context:
space:
mode:
Diffstat (limited to 'funcs.go')
-rw-r--r--funcs.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/funcs.go b/funcs.go
index 2170004..7b5df38 100644
--- a/funcs.go
+++ b/funcs.go
@@ -21,10 +21,7 @@ retry:
goto retry
}
// commit the write log and broadcast that variables have changed
- if len(tx.writes) > 0 {
- tx.commit()
- globalCond.Broadcast()
- }
+ tx.commit()
globalLock.Unlock()
}