diff options
author | Loïc Hoguin <[email protected]> | 2011-07-07 17:50:46 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-07-07 17:50:46 +0200 |
commit | 87366e36adc74caffbb3680fe1cfd07fc5b2cfef (patch) | |
tree | 195a4beb90c0373e7b3aa119ec0f24d1bd684107 /src/cowboy_clock.erl | |
parent | 474f4e0bfab5a3dadc67e1b7f13c45b246e47433 (diff) | |
download | cowboy-87366e36adc74caffbb3680fe1cfd07fc5b2cfef.tar.gz cowboy-87366e36adc74caffbb3680fe1cfd07fc5b2cfef.tar.bz2 cowboy-87366e36adc74caffbb3680fe1cfd07fc5b2cfef.zip |
Call websocket_close/4 *after* throwing the error
This ensures that an error thrown in handler_terminate/4 will be
shown after the error from handler_call/6, in the expected order.
As we already call WebSocketHandler:terminate/3, this should
fix issue #23.
Diffstat (limited to 'src/cowboy_clock.erl')
0 files changed, 0 insertions, 0 deletions