File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ export default function connectAdvanced(
202202 const parentSub = ( this . propsMode ? this . props : this . context ) [ subscriptionKey ]
203203 this . subscription = new Subscription ( this . store , parentSub , this . onStateChange . bind ( this ) )
204204
205- // `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
205+ // `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
206206 // the middle of the notification loop, where `this.subscription` will then be null. An
207207 // extra null check every change can be avoided by copying the method onto `this` and then
208208 // replacing it with a no-op on unmount. This can probably be avoided if Subscription's
You can’t perform that action at this time.
0 commit comments