* commit 'ee6405527f11010e09a72c4eaf2c47bac170c49c': Fix perfboot.py to exit by Ctrl+C.
This commit is contained in:
commit
fdb80810a2
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…
Add table
Reference in a new issue