From df3751985838078e82d71952b0a523f565081e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Junod?= Date: Wed, 15 May 2019 10:03:43 +0200 Subject: [PATCH] Initialize hitDetectionContext to `null` Co-Authored-By: Andreas Hocevar --- src/ol/render/canvas/ExecutorGroup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/render/canvas/ExecutorGroup.js b/src/ol/render/canvas/ExecutorGroup.js index 6180223528..ea28923ee6 100644 --- a/src/ol/render/canvas/ExecutorGroup.js +++ b/src/ol/render/canvas/ExecutorGroup.js @@ -82,7 +82,7 @@ class ExecutorGroup extends Disposable { * @private * @type {CanvasRenderingContext2D} */ - this.hitDetectionContext_; + this.hitDetectionContext_ = null; /** * @private