First pass of overall cleanups
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
// todo: obviously this module is WIP
|
||||
|
||||
namespace uWS {
|
||||
|
||||
// publishing to a node, then another node, then another node should prioritize draining that way
|
||||
@@ -71,6 +73,10 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
~TopicTree() {
|
||||
/* We have a few leaks here, I think */
|
||||
}
|
||||
|
||||
TopicTree() {
|
||||
/* Dynamically hook us up with the Loop post handler */
|
||||
Loop::defaultLoop()->addPostHandler([this](Loop *loop) {
|
||||
|
||||
Reference in New Issue
Block a user