MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / Shutdown

Method Shutdown

Win32/Win32Service.cpp:232–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void I2PService::Shutdown()
233{
234 try
235 {
236 OnShutdown();
237 SetServiceStatus(SERVICE_STOPPED);
238 }
239 catch (DWORD dwError)
240 {
241 LogPrint(eLogCritical, "Win32Service: Shutdown error: ", dwError);
242 }
243 catch (...)
244 {
245 LogPrint(eLogCritical, "Win32Service: Failed to shut down: ", EVENTLOG_ERROR_TYPE);
246 }
247}
248
249void I2PService::OnShutdown()
250{

Callers 1

ServiceCtrlHandlerMethod · 0.80

Calls 1

LogPrintFunction · 0.85

Tested by

no test coverage detected