|
From: SX L <han...@ho...> - 2020-10-07 04:43:53
|
I was trying the Quantlib Addin. The QLADemo exits abnormally in the debug version with an access violation exception. It turned out to be the case that ObervableSettings is deleted earlier than some observer and observables at exit. So in the dtor of the observer, ObservableSettings is called to check if update is deferred, hence causing the exception. I feel it's unsafe to use shared pointers inside a singleton. Any suggestion? Thanks. Regards, Philip Get Outlook for Android<https://aka.ms/ghei36> |