mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Got the process cleanup working now, when a task has finished.
ProcessStop is called for each process that is destructed... Actually, I need to implement destructors upon a garbage collection event. Found the method to do that, but need to implement it ... Next time ...
This commit is contained in:
@@ -144,6 +144,13 @@ do -- PROCESS_SMOKE_TARGETS_ZONE
|
||||
ClassName = "PROCESS_SMOKE_TARGETS_ZONE",
|
||||
}
|
||||
|
||||
function PROCESS_SMOKE_TARGETS_ZONE:ProcessStop()
|
||||
self:E("ProcessStop Detailed")
|
||||
|
||||
self.Menu:Remove()
|
||||
|
||||
end
|
||||
|
||||
|
||||
--- Creates a new target smoking state machine. The process will request from the menu if it accepts the task, if not, the unit is removed from the simulator.
|
||||
-- @param #PROCESS_SMOKE_TARGETS_ZONE self
|
||||
|
||||
Reference in New Issue
Block a user