Skip to content

Commit

Permalink
Disable TopicTree for now
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed Feb 10, 2019
1 parent 3e4e70d commit 399318f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion misc/15.pro
Expand Up @@ -32,7 +32,8 @@ HEADERS += \
../src/WebSocketContext.h \
../src/WebSocketContextData.h \
../src/WebSocketExtensions.h \
../src/PerMessageDeflate.h
../src/PerMessageDeflate.h \
../src/TopicTree.h

INCLUDEPATH += ../uSockets/src ../src
QMAKE_CXXFLAGS += -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-parameter -fsanitize=address
Expand Down
5 changes: 4 additions & 1 deletion src/TopicTree.h
Expand Up @@ -78,6 +78,9 @@ class TopicTree {
}

TopicTree() {
/* Disable this for now */
return;

/* Dynamically hook us up with the Loop post handler */
Loop::defaultLoop()->addPostHandler([this](Loop *loop) {

Expand Down Expand Up @@ -192,4 +195,4 @@ class TopicTree {
};
}

#endif // TOPICTREE_H
#endif // TOPICTREE_H

0 comments on commit 399318f

Please sign in to comment.