Destroy abandoned websocket ops on shutdown

fix #1358
This commit is contained in:
Vinnie Falco committed 2019-02-27 16:44:01 -08:00
1 parent 72a99c43a7
commit 92ad50a8e7
6 files changed
+42

No files matched your search

@@ -138,6 +138,18 @@ struct stream<NextLayer, deflateSupported>::impl_type
timeout_opt.keep_alive_pings = false;
}
void
shutdown() override
{
op_rd.reset();
op_wr.reset();
op_ping.reset();
op_idle_ping.reset();
op_close.reset();
op_r_rd.reset();
op_r_close.reset();
}
void
open(role_type role_)
{