MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ~GlobalPortLock

Method ~GlobalPortLock

src/remote/server/server.cpp:903–914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

901 }
902
903 ~GlobalPortLock()
904 {
905 if (handle != INVALID_HANDLE_VALUE)
906 {
907 if (!ReleaseMutex(handle))
908 {
909 system_call_failed::raise("ReleaseMutex");
910 }
911
912 CloseHandle(handle);
913 }
914 }
915
916private:
917 HANDLE handle;

Callers

nothing calls this directly

Calls 2

raiseFunction · 0.85
leaveMethod · 0.45

Tested by

no test coverage detected