am 1ada513f
: Merge "Fix perfboot.py to exit by Ctrl+C."
* commit '1ada513f5042a13fff3fb64671d110defb6725fc': Fix perfboot.py to exit by Ctrl+C.
This commit is contained in:
commit
ee6405527f
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ class WatchdogTimer(object):
|
|||
def notify_timeout():
|
||||
self._timedout = True
|
||||
self._timer = threading.Timer(timeout, notify_timeout)
|
||||
self._timer.daemon = True
|
||||
self._timer.start()
|
||||
|
||||
def is_timedout(self):
|
||||
|
|
Loading…
Reference in a new issue