only call deleteLater for linkedData if we have a QCoreApplication instance