Instance: add attribute "event_loop"
Replaces global variable "main_loop".
This commit is contained in:
@@ -34,6 +34,7 @@ class Database;
|
||||
class UpdateService;
|
||||
#endif
|
||||
|
||||
class EventLoop;
|
||||
class Error;
|
||||
class ClientList;
|
||||
struct Partition;
|
||||
@@ -52,6 +53,8 @@ struct Instance final
|
||||
public NeighborListener
|
||||
#endif
|
||||
{
|
||||
EventLoop *event_loop;
|
||||
|
||||
#ifdef ENABLE_NEIGHBOR_PLUGINS
|
||||
NeighborGlue *neighbors;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user