Description[release-branch.go1.1] time: prevent a panic from leaving the timer mutex held
««« CL 10373047 / 974a69ed9fcf
time: prevent a panic from leaving the timer mutex held
When deleting a timer, a panic due to nil deref
would leave a lock held, possibly leading to a deadlock
in a defer. Instead return false on a nil timer.
Fixes issue 5745.
R=golang-dev, daniel.morsing, dvyukov, rsc, iant
CC=golang-dev
https://codereview.appspot.com/10373047
Committer: Russ Cox <rsc@golang.org>
»»»
Update issue 5928
Patch Set 1 #Patch Set 2 : diff -r 7f7bdef7fc85 https://code.google.com/p/go #Patch Set 3 : diff -r 7f7bdef7fc85 https://code.google.com/p/go #
MessagesTotal messages: 3
|