• D1plo1d's avatar
    Patching disconnect to stop the print_thread · 9c55957e
    D1plo1d authored
    By setting printing to false and not restarting the sender thread when the print_thread exits in the disconnect method this should allow printcore to disconnect even if the print thread is running.
    
    In particular this makes it possible to ctrl+c out of prontserve durring an m109 where it previously errored out and hung with the following error:
    
    Can't read from printer (disconnected?) (SerialException): device reports readiness to read but returned no data (device disconnected?)
    9c55957e
Name
Last commit
Last update
images Loading commit data...
locale Loading commit data...
printrun Loading commit data...
server Loading commit data...
testfiles Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
P-face.ico Loading commit data...
P-face.png Loading commit data...
README.cleanup Loading commit data...
README.i18n Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
Vagrantfile Loading commit data...
auth.config Loading commit data...
custombtn.txt Loading commit data...
dot.pronsolerc.example Loading commit data...
http.config Loading commit data...
plater.ico Loading commit data...
plater.png Loading commit data...
plater.py Loading commit data...
printcore.py Loading commit data...
pronsole.ico Loading commit data...
pronsole.png Loading commit data...
pronsole.py Loading commit data...
pronterface.py Loading commit data...
prontserve.py Loading commit data...
setup.py Loading commit data...