Commit 6fe5427 1 parent 1a543b0 commit 6fe5427 Copy full SHA for 6fe5427
File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
import Subscription from './subscription' ;
2
2
3
3
export default class SubscriptionReference extends Subscription {
4
-
4
+
5
5
protected subscription :Subscription
6
-
7
- private _isDisposed :boolean
8
-
9
- private _isDisposeScheduled :boolean
10
-
6
+
7
+ _isDisposed :boolean
8
+
9
+ _isDisposeScheduled :boolean
10
+
11
11
public isReference :boolean = true
12
12
13
13
@@ -30,6 +30,10 @@ export default class SubscriptionReference extends Subscription {
30
30
return this . _isDisposeScheduled || this . _isDisposed ;
31
31
}
32
32
33
+ set isDisposed ( v :boolean ) {
34
+ this . _isDisposed = v ;
35
+ }
36
+
33
37
setSubscription ( subscription :Subscription ) : void {
34
38
this . subscription = subscription ;
35
39
if ( this . _isDisposeScheduled ) {
You can’t perform that action at this time.
0 commit comments