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
Post a Comment