Clear resolve / reject function after rejecting too
Clear resolve / reject function after rejecting too

matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk