]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixed IEditorPart reference (memory) leaks from ResourceEditorSupport 48/248/3
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 4 Jan 2017 12:38:06 +0000 (14:38 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 4 Jan 2017 13:14:52 +0000 (15:14 +0200)
ResourceEditorSupport.validationRequest gave IEditorPart as an argument
to UnaryRequest which caused the reference to remain in the DB client's
caches for very long times. This consumed the JVM heap rather quickly
with editors that require a lot of memory and never explicitly free
(nullify) it.

refs #6936

Change-Id: I46bfd107d57dea0493653afdb378dc089fa508a2


No differences found