Fix Issue #1277: Avoid premature deletion of ResourceObject (which my be still being referenced by some other object handling some signal) by using deleteLater instead of delete.
Merge pull request #29 from pruiz/issue-1277

Fix Issue #1277: Avoid premature deletion of ResourceObject (which my be still being referenced by some other object handling some signal) by using deleteLater instead of delete.