c# - Memory leak when I select uwp listbox item frequently -




i create listbox , register it's selectedchanged event. don't in event handler. , write ui automation test,it can select listbox's item in turn frequently. (there 5 items in listbox);

when test running.i watch app's private memory.it increased.

but when test over.the private memory hold , doesn't been collect. if use memory profiler in visual studio force gc.collect().

so think makes memory leak.

could me ? thanks.

here demo project link: https://1drv.ms/u/s!ahljbmnnql72uab1f86g-a2ledmd3a





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -