fix: prevent the first-ever signature subscription from leaking (#29056)
This commit is contained in:
parent
34e5bf1b13
commit
9725a4552e
|
@ -3712,7 +3712,7 @@ export class Connection {
|
|||
disposeSignatureSubscriptionStateChangeObserver();
|
||||
disposeSignatureSubscriptionStateChangeObserver = undefined;
|
||||
}
|
||||
if (signatureSubscriptionId) {
|
||||
if (signatureSubscriptionId != null) {
|
||||
this.removeSignatureListener(signatureSubscriptionId);
|
||||
signatureSubscriptionId = undefined;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue