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

Function handleShutdown

apps/osvr_server.cpp:45–48  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

43
44/// @brief Shutdown handler function - forcing the server pointer to be global.
45void handleShutdown() {
46 out << "Received shutdown signal..." << endl;
47 server->signalStop();
48}
49
50int main(int argc, char *argv[]) {
51 std::string configName(osvr::server::getDefaultConfigFilename());

Callers

nothing calls this directly

Calls 1

signalStopMethod · 0.45

Tested by

no test coverage detected