[Twisted-Python] Difficulty restarting/shutting down a twisted server - ports not closing
Glyph
glyph at twistedmatrix.com
Wed Jun 12 01:06:11 MDT 2013
On Jun 11, 2013, at 6:20 PM, Paul Sajna <sajattack at gmail.com> wrote:
> I continue to use threads because my application uses a GUI that becomes blocked when the server starts. Also, I am now having a problem where port is undefined until the server is stopped and started again.
Paul,
Until you stop using threads in this manner, you are using threads in a totally unsupported way and Twisted will be broken.
Twisted supports most GUIs directly though; there is generally no need to use threads. What GUI library are you using?
-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20130612/2d0bba4f/attachment-0002.html>
More information about the Twisted-Python
mailing list