FCameraJobList is a TGLCameraJobList inherited of TObjectList which has the capability of automatically freeing object entries when they are removed from the list. That means that when CurrentJob is removed from the list, it is destroyed.
The list remove must be done after notification in order to avoid a buffer overrun issue if CurrentJob is used in FOnJobFinished(CurrentJob)
FCameraJobList
is aTGLCameraJobList
inherited ofTObjectList
which has the capability of automatically freeing object entries when they are removed from the list. That means that whenCurrentJob
is removed from the list, it is destroyed.The list remove must be done after notification in order to avoid a buffer overrun issue if
CurrentJob
is used inFOnJobFinished(CurrentJob)