diff options
-rw-r--r-- | Swift/Controllers/Chat/UserSearchController.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Swift/Controllers/Chat/UserSearchController.cpp b/Swift/Controllers/Chat/UserSearchController.cpp index 0539f9b..7473849 100644 --- a/Swift/Controllers/Chat/UserSearchController.cpp +++ b/Swift/Controllers/Chat/UserSearchController.cpp @@ -79,8 +79,6 @@ void UserSearchController::endDiscoWalker() { discoWalker_->endWalk(); discoWalker_->onServiceFound.disconnect(boost::bind(&UserSearchController::handleDiscoServiceFound, this, _1, _2)); discoWalker_->onWalkComplete.disconnect(boost::bind(&UserSearchController::handleDiscoWalkFinished, this)); - delete discoWalker_; - discoWalker_ = NULL; } } |