Fix nullpointer dereference error caused by unset callback handle

This commit is contained in:
Emil Axelsson
2018-11-14 22:45:06 +01:00
parent 3243316e79
commit 52060ab006
2 changed files with 21 additions and 9 deletions
@@ -40,6 +40,8 @@ public:
bool isDone() const override;
private:
void resetCallbacks();
const int UnsetCallbackHandle = -1;
bool _requestedResourceIsSubscribable = false;