WPF viewport3D and LineVisual3D memoryleak problem
#2
I finally solved that issue.

To those who may have a similar problem:

the problem wasn't the Linesvisual3D, but EventSource which didnt Dispose automatically, since the reference in the eventmanager still existed.

The solution was to put all visuals with Events (TextVisual3D, Planevisual3D) into a dedicated collection and when deleting the scene, first remove (foreach) them by "ab3d.Eventmanager.RemoveEvenetsSource3D. The rest is dont by the GC
  


Messages In This Thread
RE: WPF viewport3D and LineVisual3D memoryleak problem - by Flyke - 09-20-2018, 04:08 PM

Forum Jump:


Users browsing this thread:
2 Guest(s)