Sven Van Caekenberghe wrote:
Hi,
User Herby VojÄÃk seems to have an issue with the --headless option on Windows 10
https://pharo.fogbugz.com/f/cases/20271/ZnServer-managedServers-disappear-wh...
I cannot reproduce his problem.
Maybe there are Windows users out there who can have a look and help him ?
Thx,
Sven
I changed ZnSingleThreadedServer >> stop: to this: stop: unregister "Stop me. I will stop listening on my port for incoming HTTP connections. If unregister is true, unregister me from the list of managed instances. Does nothing when I am not running" self isRunning ifFalse: [ ^ self ]. unregister ifTrue: [ Error signal: 'stop: true was sent to running server!' ]. process terminate. process := nil. unregister ifTrue: [ self unregister ]. self closeDelegate. self logStopped As a result, different PharoDebug.log was generated (only in headless case, of course), which shows the server was indeed saved with both process and serverSocket being notNil. Attached. Herby