Commits

Philipp Lohmann [pl]  committed 82de00a

calc63: #i115504# cleanup image tree to prevent static destructor troubles

  • Participants
  • Parent commits e088a0e

Comments (0)

Files changed (1)

File vcl/aqua/source/app/vclnsapp.mm

 #include "vcl/cmdevt.hxx"
 #include "rtl/ustrbuf.hxx"
 
+#include "vcl/impimagetree.hxx"
+
 #include "premac.h"
 #import "Carbon/Carbon.h"
 #import "apple_remote/RemoteControl.h"
     #else // the clean version follows
     return pSalData->maFrames.front()->CallCallback( SALEVENT_SHUTDOWN, NULL ) ? NSTerminateCancel : NSTerminateNow;
     #endif
+    ImplImageTreeSingletonRef()->shutDown();
     return NSTerminateNow;
 }