- Joined
- Jan 30, 2020
- Messages
- 776
Is there anything wrong with doing:
Caller
Does this leak?
Caller
-
Custom script: local timer t = CreateTimer()
-
... The actual stuff
-
Custom script: call TimerStart(t, 0.60, false, function Trig_DelayedGUITriggerName_Actions)
-
Custom script: set t = null
-
DelayedGUITriggerName
-
Events
-
Conditions
-
Actions
-
Custom script: local timer t=GetExpiredTimer()
-
Custom script: call PauseTimer(t)
-
Custom script: call DestroyTimer(t)
-
Custom script: set t=null
-
...
-
The actual stuff
-
-
Does this leak?