I have created an extension, which creates engines temporarily. What I want is to
remove these custom engines before application closes. But the signal
QApplication::aboutToQuit() is not being fired, when I close the avogadro.
Is there any other ways to catch the closure of application?