Merge "Fix perfboot.py to exit by Ctrl+C."
This commit is contained in:
commit
1ada513f50
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