projects
/
theonering
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Async connect/disconnect. Moved everything to a new Async and Timeout which cleans...
[theonering]
/
src
/
theonering.py
diff --git
a/src/theonering.py
b/src/theonering.py
index
1bc7436
..
1e06a1d
100755
(executable)
--- a/
src/theonering.py
+++ b/
src/theonering.py
@@
-63,7
+63,7
@@
def run_theonering(persist):
gobject_utils.timeout_add_seconds(IDLE_TIMEOUT, timeout_cb)
shutdown_callback = quit
gobject_utils.timeout_add_seconds(IDLE_TIMEOUT, timeout_cb)
shutdown_callback = quit
- signal.signal(signal.SIGTERM, quit)
+ signal.signal(signal.SIGTERM, lambda: quit)
try:
manager = connection_manager.TheOneRingConnectionManager(shutdown_func=shutdown_callback)
try:
manager = connection_manager.TheOneRingConnectionManager(shutdown_func=shutdown_callback)