jonadrian619
-___-
- Reaction score
- 242
I've been experimenting on making Local Triggers. Here's an example of a trigger I've converted to JASS and made local triggers.
In daelin's tutorial it said that Triggers themselves leak. Do local triggers leak or triggers created through functions? If yes then how can I remove the leak?
JASS:
function Sample takes nothing returns nothing
endfunction
//========================================================
function InitTrig_Sample takes nothing returns nothing
local trigger t
set t = CreateTrigger()
call TriggerRegister[whatever event](t, whatever)
call TriggerAddAction(t, function Sample)
endfunction
In daelin's tutorial it said that Triggers themselves leak. Do local triggers leak or triggers created through functions? If yes then how can I remove the leak?