Problem: stream_engine_t instance may access its fields after it deleted itself

Solution: prevent access to data if the object was deleted
This commit is contained in:
Simon Giesecke
2018-08-09 13:17:21 +02:00
parent 05e400a3e0
commit 563651e0c9
11 changed files with 38 additions and 21 deletions

View File

@@ -57,7 +57,7 @@ class pgm_receiver_t : public io_object_t, public i_engine
// i_engine interface implementation.
void plug (zmq::io_thread_t *io_thread_, zmq::session_base_t *session_);
void terminate ();
void restart_input ();
bool restart_input ();
void restart_output ();
void zap_msg_available () {}
const char *get_endpoint () const;