Skip to content

Commit 01acd4e

Browse files
committed
fix(jni): potential crash on setting rime runtime options
1 parent be1540c commit 01acd4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/jni/librime_jni/rime_jni.cc

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ class Rime {
6363
if (rime->start_maintenance(fullCheck)) {
6464
rime->join_maintenance_thread();
6565
}
66+
67+
session_ = rime->create_session();
6668
}
6769

6870
bool processKey(int keycode, int mask) {

0 commit comments

Comments
 (0)