The way it's currently set up (with not great error handling) is that if you stop and immediately restart the server with the same port and address it crashes.
Although Peasy does close ports when they're deinitialized, there's some odd behaviour with the InputLoop which stops it from closing immediately.
Probably easily rectified by explicitly closing things rather than waiting for deinits.
The way it's currently set up (with not great error handling) is that if you stop and immediately restart the server with the same port and address it crashes.
Although Peasy does close ports when they're deinitialized, there's some odd behaviour with the InputLoop which stops it from closing immediately.
Probably easily rectified by explicitly closing things rather than waiting for deinits.