MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / handleShutdown

Function handleShutdown

apps/BasicServer.cpp:44–47  ·  view source on GitHub ↗

@brief Shutdown handler function - forcing the server pointer to be global.

Source from the content-addressed store, hash-verified

42
43/// @brief Shutdown handler function - forcing the server pointer to be global.
44void handleShutdown() {
45 cout << "Received shutdown signal..." << endl;
46 server->signalStop();
47}
48
49int main(int argc, char *argv[]) {
50 if (argc < 2) {

Callers

nothing calls this directly

Calls 1

signalStopMethod · 0.45

Tested by

no test coverage detected