MovieDef::WaitForLoadFinish

MovieDef::WaitForLoadFinish
virtual void WaitForLoadFinish(bool cancel = false) const = 0;
Description

WaitForLoadFinish waits until loading of a movie instance is completed. Calling this method is important before Release() if you use ThreadedTaskManager and memory arenas, as it ensures that background thread's memory references are released. If 'cancel' flag is passed, loading will be canceled abruptly for the fasted possible shutdown. WaitForLoadFinish is also used internally by FontLib.

Parameters
Parameters 
Description 
bool cancel = false 
Boolean flag for canceling the movie loading.