You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to reset a lazy singleton providing a disposing function. The function its never called, after checking the implementation of get_it I notice the following:
at line 732, InstanceFactory.instance its set to null, then at line 736 the condition tests the instance to check if its null to call the disposing function, but the issue its the instance has been already set to null, so the disposing function will never be called
Try to reset a lazy singleton providing a disposing function. The function its never called, after checking the implementation of get_it I notice the following:
at line 732, InstanceFactory.instance its set to null, then at line 736 the condition tests the instance to check if its null to call the disposing function, but the issue its the instance has been already set to null, so the disposing function will never be called
`instanceFactory.instance = null;
instanceFactory.pendingResult == null;
instanceFactory._readyCompleter = Completer();
The text was updated successfully, but these errors were encountered: