❔ Frozen Window C#
I have a question... I unblocked two files (mark of the web) because it didn't update the window after changes but now when I do changes it works only with an issue that I cannot move or do anything in a window it is like frozen... there aren't any errors except warnings could somebody help me how to fix that? thank you
12 Replies
The files are unblocked and when I start the app, there are not any build errors anymore and it works fine, it is frozen when I do only a change right now.
$paste
If your code is too long, you can post to https://paste.mod.gg/ and copy the link into chat for others to see your shared code!
Please post code.
Do you use Thread.Sleep anywhere?
Or some function that is synchronous that may freeze the thread?
Please use the link posted
No I do not
BlazeBin Basic - epxuddyidesr
A tool for sharing your source code with the world!
Here are three codes: dataManager.cs, windowMain.cs and infoWindow.cs
does a dialog window or something stay open? those can maybe freeze your window
It stays stagnant, I cannot move the window, click the buttons, or do anything else... I can close the app only through the exit in the taskbar
and no dialog window doesnt stay open
yeah sounds like something is blocking the ui thread, if the thread cant pump messages then the window cant do anything
i cant really look at your code rn but maybe you could put functinality on a background thread
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.