commit 73c8905c76d185dc78921a332c36b130a247cf92
parent 4fa237315e6815c12c78f39d42543c15cad470c1
Author: ThomasV <thomasv@gitorious>
Date: Sun, 19 Feb 2012 23:05:04 +0300
version 0.40a
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/client/version.py b/client/version.py
@@ -1,2 +1,2 @@
-ELECTRUM_VERSION = "0.40"
+ELECTRUM_VERSION = "0.40a"
SEED_VERSION = 4 # bump this everytime the seed generation is modified
diff --git a/server/server.py b/server/server.py
@@ -457,7 +457,11 @@ def listen_thread(store):
s.listen(1)
while not stopping:
conn, addr = s.accept()
- thread.start_new_thread(client_thread, (addr, conn,))
+ try:
+ thread.start_new_thread(client_thread, (addr, conn,))
+ except:
+ # can't start new thread if there is no memory..
+ traceback.print_exc(file=sys.stdout)