sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56080
Re: [Question #693935]: Jython: only one successful connection attempt using sockets
Question #693935 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693935
Status: Needs information => Answered
RaiMan proposed the following answer:
When running scripts in the SikuliX IDE, the Jython session is only
terminated, if the IDE is terminated.
Hence each script runs in the same Jython context.
To get a new Jython context for every scriptrun, run your script from
command line.
For testing purposes in the IDE, it might be worth to delete the
TCPControler() instance at script end.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.