mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user