Fix texture using application crash at shutdown
Depending on order things are destroyed at shutdown, texture factory
can get deleted before textures at shutdown. Textures notify factory
at their destructor, which caused the crash.
Changed factory pointer to a guarded one to avoid this.
Change-Id: I032f066a9a77ef92c68c31e0552f880a8f0a90af
Task-number: QTBUG-51045
Reviewed-by:
Pasi Keränen <pasi.keranen@theqtcompany.com>
Showing
Please register or sign in to comment