Hi there,
I'm writing my own code to push trades from OQ to database. Part of this involves connection to a message broker (AMQP) which runs on its own (internal) threads. I need an event of some kind when OpenQuant is shutting down as I need to dispose of the connection. Without this when OQ is closed my code & the messaging connection keeps the process alive.
I tried subscribing to Application.ApplicationExit but it doesn't fire. Is there anything else I can do to get an event or callback when OQ is closed by the user?
Thanks,
|