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