projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Giant blob of minor changes
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
rxjs
/
_esm2015
/
internal
/
Subscription.js
diff --git
a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/Subscription.js
b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/Subscription.js
index 78301c66d846e887d00ed58e91b66e4ae4323f99..82ac7b7cbd67336f543415ff928e78ab935af2f7 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/Subscription.js
+++ b/
.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/Subscription.js
@@
-8,6
+8,7
@@
export class Subscription {
this._parentOrParents = null;
this._subscriptions = null;
if (unsubscribe) {
this._parentOrParents = null;
this._subscriptions = null;
if (unsubscribe) {
+ this._ctorUnsubscribe = true;
this._unsubscribe = unsubscribe;
}
}
this._unsubscribe = unsubscribe;
}
}
@@
-16,7
+17,7
@@
export class Subscription {
if (this.closed) {
return;
}
if (this.closed) {
return;
}
- let { _parentOrParents, _unsubscribe, _subscriptions } = this;
+ let { _parentOrParents, _
ctorUnsubscribe, _
unsubscribe, _subscriptions } = this;
this.closed = true;
this._parentOrParents = null;
this._subscriptions = null;
this.closed = true;
this._parentOrParents = null;
this._subscriptions = null;
@@
-30,6
+31,9
@@
export class Subscription {
}
}
if (isFunction(_unsubscribe)) {
}
}
if (isFunction(_unsubscribe)) {
+ if (_ctorUnsubscribe) {
+ this._unsubscribe = undefined;
+ }
try {
_unsubscribe.call(this);
}
try {
_unsubscribe.call(this);
}