summaryrefslogtreecommitdiff
path: root/ext/fg/js/util.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-02-08 21:30:00 -0800
committerAlex Yatskov <alex@foosoft.net>2017-02-08 21:30:00 -0800
commitcaa09c63a18a0d5f30fda365c18c0d58235ec7e9 (patch)
tree0155cd3136228c186f63eff42e3c68c2dc3482ba /ext/fg/js/util.js
parent2e3aec9ba11b15d7ac2b5d99af2dacac88e9c276 (diff)
destroy imposters earlier
Diffstat (limited to 'ext/fg/js/util.js')
-rw-r--r--ext/fg/js/util.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fg/js/util.js b/ext/fg/js/util.js
index 641b73ac..aeda36b5 100644
--- a/ext/fg/js/util.js
+++ b/ext/fg/js/util.js
@@ -108,6 +108,7 @@ function textSourceFromPoint(point, imposter) {
return new TextSourceRange(range);
}
+ destroyImposters();
return null;
}