d2lmirrors / anolis

Anolis is the underlying project for the XPize and Vize resource switchers for Windows XP and Vista respectivly. The codebase allows for the easy swapping around of resources within Win32 executables and other files. (just adding some missing data)
GNU General Public License v2.0
1 stars 0 forks source link

Worker thread does not stop if tree selection changes #26

Closed Dobby233Liu closed 1 year ago

Dobby233Liu commented 1 year ago

creation date = 2009-03-04T14:23:45.177-08:00

If you select something that needs more significant CPU time to prepare (like 2000 icons) and then select something else, the worker thread still keeps one core in full load until finished.   You should go for stopping it somewhere in a BeforeSelect event if selected node changed and worker thread is active.

Dobby233Liu commented 1 year ago

closed date = 2009-04-10T14:31:47.96-07:00

This was fixed as part of the other issue relating to the BackgroundWorker being busy.