Make it possible to unsubscribe to the time (#612)

This commit is contained in:
Emil Axelsson
2018-05-16 12:47:06 +02:00
committed by GitHub
parent a6501cb288
commit 1c000a045b
2 changed files with 11 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ private:
nlohmann::json currentTime();
nlohmann::json deltaTime();
bool _isDone;
int _timeCallbackHandle;
int _deltaTimeCallbackHandle;
std::chrono::system_clock::time_point _lastUpdateTime;