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