From ddc3528538457cc407ef88ce417eaaf23155fa7c Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Wed, 12 Jul 2023 21:12:29 -0600 Subject: [PATCH] Clear timeout_action when clearing timeout on thread --- thread.go | 1 + 1 file changed, 1 insertion(+) diff --git a/thread.go b/thread.go index 692a11e..13bdbc6 100644 --- a/thread.go +++ b/thread.go @@ -535,6 +535,7 @@ func (thread * SimpleThread) Timeout() <-chan time.Time { func (thread * SimpleThread) ClearTimeout() { thread.timeout_chan = nil + thread.timeout_action = "" } func (thread * SimpleThread) AllowedToTakeLock(new_owner Lockable, lockable Lockable) bool {