WispForMaya icon indicating copy to clipboard operation
WispForMaya copied to clipboard

Memory leaks

Open Nielsbishere opened this issue 5 years ago • 1 comments

Describe the bug There's a few minor memory leaks regarding Qt and general destructors.

To Reproduce Checkout feature_fix_memleak_2 in WispRenderer. Launch Maya; attach VS; take capture of allocations. Load plugin; unload plugin; take capture of allocations.

Expected behavior Should clean up; but leaks ~30 MB CPU.

Screenshots System (please complete the following information): N.A.

Additional context This thread will include all findings of memory leaks.

Nielsbishere avatar Jun 24 '19 09:06 Nielsbishere

~RenderPipelineSelectCommand is not being called; other than that, I found that some Qt elements were allocated somehow; which may or may not be because of the plugin.

Nielsbishere avatar Jun 24 '19 09:06 Nielsbishere