orthecreedence / cl-async

Asynchronous IO library for Common Lisp.
MIT License
273 stars 40 forks source link

Provide ABORT-CALLBACK and EXIT-EVENT-LOOP restarts for callbacks #100

Closed ivan4th closed 9 years ago

ivan4th commented 9 years ago

Provide ABORT-CALLBACK and EXIT-EVENT-LOOP restarts for event loop callbacks. Make one of them the default for sldb when swank is active (bound to 'q' in sldb buffer) depending on whether SLIME REPL integration is used. This helps against unwanted event loop termination when using as-repl. Another problem was that (if I understand correctly) unwinding the stack through uv_run() call has unspecified consequences, so it's better to stop event loop via uv_stop() if event loop termination is desired upon an unhandled condition.

orthecreedence commented 9 years ago

Another great update. Thanks!