Auto calling of connection::prepare_to_event_handling

This commit is contained in:
Sergey Naumov
2016-09-05 20:55:33 +03:00
parent 4065f549c2
commit 19b460851b
3 changed files with 4 additions and 10 deletions

View File

@@ -25,9 +25,6 @@ int main() {
}
});
// Don't forget this:
conn.prepare_to_event_handling();
while (true) {
conn.handle_event();
}