Fixed crash on new upload
Fixed crash when delegate is canceling it self #DESURA-870
Removed the need for a safe_delete on smart pointer
Merge pull request #904 from lodle/refcount-fixes

Refcount fixes