From: Tuukka Lehtonen Date: Wed, 30 Sep 2020 05:41:03 +0000 (+0300) Subject: Add isDisposed checking to avoid unexpected NPE X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=215cb2930ed3fb362b2951d1da3080abec976972;hp=215cb2930ed3fb362b2951d1da3080abec976972 Add isDisposed checking to avoid unexpected NPE In this case ctx.getContentContext() would return null when the canvas context was already disposed. gitlab #614 (cherry picked from commit 930da66f9b2d7d1acba3e5dc805a323933abb780) ---