Add uWS::destroy calls to examples
This commit is contained in:
@@ -35,4 +35,7 @@ int main() {
|
||||
std::cout << "Listening on port " << 9001 << std::endl;
|
||||
}
|
||||
}).run();
|
||||
|
||||
/* This is needed to properly clear everything */
|
||||
uWS::destroy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user