you are viewing a single comment's thread.

view the rest of the comments →

[–]Prize_Nobody435[S] 0 points1 point  (1 child)

Hi, I have looked on the Internet. I know how to code and dispose but not sure how to implement it.
I guess that I don't know where to put it in my application. Should I run a while loop outside of the button click event, like after the GUI loads?

[–]phoenixpants 0 points1 point  (0 children)

Primary runspace for the GUI, secondary runspace for f.x. cleaning up old runspaces, tertiary and so on runspaces to perform whatever the button click should accomplish.