<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Itamar Shtull-Trauring wrote:
<blockquote cite="mid1117466277.7750.17.camel@localhost.localdomain"
 type="cite">
  <pre wrap="">On Mon, 2005-05-30 at 14:35 +0200, Michele Petrazzo wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">3) Why into your demo the reactor.stop() work and into my code I receive
this error:
RuntimeError: can't stop reactor that isn't running
I use the same code initialization of the demo.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
You are not calling reactor.run() anywhere, as far as I can tell.


  </pre>
</blockquote>
My understanding is you call reactor.interleave **NOT** reactor.run
with threadedselectreactor.&nbsp;&nbsp; For wx I use
reactor.interleave(wx.CallAfter) in my App.OnInit method and it works
fine. There IS an issue with the wx MainLoop not exiting when my last
frame is closed (I think this is because wx still "sees" the reactor
thread) so I use wx.GetApp().Exit() to terminate the wx MainLoop
manually.<br>
<br>
<br>
Shawn Church<br>
<a class="moz-txt-link-freetext" href="http://SChurchComputers.com">http://SChurchComputers.com</a><br>
<br>
</body>
</html>