def _killInstance(cls):  # TODO: TO BE RETHOUGHT LATER !! THIS GUY SHOULD GO AWAY
        # remove callback, it holds a reference to us
        GithubAuthorizator.unregisterCollectionChangedCallback((cls.__instance, HPasteCollectionWidget.__HPasteCollectionWidget._authCallback))
        cls.__instance.deleteLater()  # widget has parent, so it won't be deleted unless we explicitly tell it to
        cls.__instance = None