I'm a new developer with Ninja 8. What is good practice to exit, close, destroy, release strategy from the code?
I'm using Threads and singleton pattern in my strategy and they do not get destroyed or released from memory on strategy exit.
I used functions like:
Application.Exit
Application.Shutdown
but in that case, whole Ninja application is closed. I'm looking to close only my strategy.
Workaround to really release all strategy is to recompile it, then everything is clean.
My question is what is good practice to exit, close, destroy, release strategy from the code?
Thank you in advance,
Gunars
Comment