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
I updated Photino.NET package to latest today (3.1.18) and noticed that app starts freezing in "loading page".
Our app initially (from Main, STAThread) loads loading screen from the file, then after Kestrel server boots up we redirect window there.
Shortened code:
varhostApplicationLifetime=host.Services.GetRequiredService<IHostApplicationLifetime>();hostApplicationLifetime.ApplicationStarted.Register(()=>{varserver=host.Services.GetRequiredService<IServer>();varaddressFeature=server.Features.Get<IServerAddressesFeature>();stringhostAddress=addressFeature.Addresses.FirstOrDefault();if(hostAddressis not null){MainPhotinoWindow.Load(hostAddress);}},useSynchronizationContext:true);MainPhotinoWindow.Load(path:"LoadingPage.html");
It worked fine earlier, so I started to downgrade Photino.NET to earlier versions and found that it still works with 3.1.15.
So this error starts from Photino.NET version 3.1.16.
The text was updated successfully, but these errors were encountered:
@r-pankevicius Our first thought is, have you tried putting a breakpoint in your ApplicationStarted.Register() code? Does it fire? Does it throw an exception? We're happy to take a look if you have a repo you can share with us that contains the complete code so we can try it out ourselves.
OS: Win11.
I updated Photino.NET package to latest today (3.1.18) and noticed that app starts freezing in "loading page".
Our app initially (from Main, STAThread) loads loading screen from the file, then after Kestrel server boots up we redirect window there.
Shortened code:
It worked fine earlier, so I started to downgrade Photino.NET to earlier versions and found that it still works with 3.1.15.
So this error starts from Photino.NET version 3.1.16.
The text was updated successfully, but these errors were encountered: