Implement Loop::setPreHandler

This commit is contained in:
Alex Hultman
2019-01-17 09:59:55 +01:00
parent 04281eeea6
commit 3c3819fe3c
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ private:
int currentDeferQueue = 0;
std::vector<std::function<void()>> deferQueues[2];
std::function<void(Loop *)> postHandler;
std::function<void(Loop *)> postHandler, preHandler;
public:
~LoopData() {