Eilon / MauiHybridWebView

MIT License
216 stars 48 forks source link

fix System.NullReferenceException when disconnecting Handler #87

Closed sferhah closed 2 weeks ago

sferhah commented 3 weeks ago

Besides, disconnecting the Handler is a workaround for memory leaks: https://github.com/dotnet/maui/issues/20283#issuecomment-2218729505

Eilon commented 2 weeks ago

Thanks @sferhah , I'll work on merging this.

I plan to eventually re-work all the code in this repo to be based on what's shipping in .NET MAUI, and the logic for cleanup/preventing memory leaks is a lot better in that code base. But for now I think this is good!