aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-11 20:54:23 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-23 17:50:46 +0200
commit1f2eee449e2c1e0baf20dba038da7eaf3424aefe (patch)
tree68a13baccf2d958daf3966f586702f44bd3c9f41 /ext/bg/js/backend.js
parentf97877a2097c8b27b75099e489b93db255cb68be (diff)
mecab refactoring and bugfix
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 027cc250..45db9660 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -101,6 +101,8 @@ class Backend {
if (options.parsing.enableMecabParser) {
this.mecab.startListener();
+ } else {
+ this.mecab.stopListener();
}
}