Clear timeout_action when clearing timeout on thread

graph-rework-2
noah metz 2023-07-12 21:12:29 -06:00
parent a9b40db0de
commit ddc3528538
1 changed files with 1 additions and 0 deletions

@ -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 {