Commit 56d3270b authored by Barry Warsaw's avatar Barry Warsaw

main(): Use ThreadedAsync.loop() explicitly instead of the

asyncore.loop() which really isn't.
parent 2ad5d665
...@@ -19,6 +19,7 @@ import sys, os, getopt ...@@ -19,6 +19,7 @@ import sys, os, getopt
import types import types
import errno import errno
import socket import socket
import ThreadedAsync
def directory(p, n=1): def directory(p, n=1):
d = p d = p
...@@ -291,7 +292,7 @@ def main(argv): ...@@ -291,7 +292,7 @@ def main(argv):
try: try:
try: try:
asyncore.loop() ThreadedAsync.loop()
finally: finally:
if os.path.isfile(env.zeo_pid): if os.path.isfile(env.zeo_pid):
os.unlink(env.zeo_pid) os.unlink(env.zeo_pid)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment