fix headless test case

This commit is contained in:
Konstantin Käfer
2014-04-25 16:12:03 +02:00
parent 666f593803
commit 3e92f36afc
3 changed files with 6 additions and 2 deletions

View File

@@ -45,8 +45,11 @@ void Map::stop() {
void Map::eventloop(void *arg) {
Map *map = static_cast<Map *>(arg);
map->run();
}
uv_run(map->loop, UV_RUN_DEFAULT);
void Map::run() {
uv_run(loop, UV_RUN_DEFAULT);
}
void Map::setup() {