Clear interface on shutdown
This commit is contained in:
parent
1b85661f4f
commit
ed1788a1c1
@ -520,6 +520,13 @@ local function createInterface()
|
||||
end
|
||||
|
||||
|
||||
hook.Add( "ShutDown", "CFC_DisconnectInterface_Shutdown", function()
|
||||
if interfaceDerma then
|
||||
interfaceDerma:Close()
|
||||
end
|
||||
end )
|
||||
|
||||
|
||||
hook.Add( "CFC_CrashTick", "CFC_DisconnectInterface_InterfaceUpdate", function( isCrashing, _timeDown, _apiState )
|
||||
timeDown = _timeDown
|
||||
if _apiState ~= CFCCrashAPI.PINGING_API then
|
||||
|
Loading…
Reference in New Issue
Block a user