[Development] [QML] Singletons are deleted before the other objects

BogDan bog_dan_ro at yahoo.com
Fri Sep 19 14:37:42 CEST 2014


Hello folks,

  Singletons registered using qmlRegisterSingletonType, are deleted *before*
the other active objects. I consider it to be wrong because some of the active
objects may still need to access the singletons in their destructor ...

IMHO singletons should be the very last objects deleted (also in the reverse
order).

Is there any reason why they are deleted before the other active objects?
Or this is just a bug?

Cheers,
BogDan.




More information about the Development mailing list