Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@SlowLogicBoy
Copy link
Contributor

I use dependency injection.

As per Disposable pattern Dispose method can be called multiple times however, once DependencyInjection calls Wiget.Dispose it crashes, because Handler property checks if it's already disposed.

As I understand Application disposes all of it's widgets and cannot be called 2nd time which is done by DependencyInjection.

@cwensley
Copy link
Member

Looks great, thanks for catching that @SlowLogicBoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants