Crash from NsUnregisterComponent before NsRegisterComponent
Posted: 08 Jul 2020, 02:08
Hi,
We have found that if our application requests an exit before it has completely finished its initialization steps it can result in calls to NsUnregisterComponent being made before the corresponding NsRegisterComponent has been called which results in the application crashing.
While understandable that it is not valid to attempt to unregister a component that is not yet registered I am wondering if anyone can shed some light on what these functions are doing internally to result in a crash state?
We have found that if our application requests an exit before it has completely finished its initialization steps it can result in calls to NsUnregisterComponent being made before the corresponding NsRegisterComponent has been called which results in the application crashing.
While understandable that it is not valid to attempt to unregister a component that is not yet registered I am wondering if anyone can shed some light on what these functions are doing internally to result in a crash state?