Skip to content

Commit e8a65e1

Browse files
authored
Yices: stop timer on solver close (#103)
1 parent 39046b5 commit e8a65e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ksmt-yices/src/main/kotlin/org/ksmt/solver/yices/KYicesSolver.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ class KYicesSolver(private val ctx: KContext) : KSolver<KYicesSolverConfiguratio
179179
override fun close() {
180180
nativeContext.close()
181181
yicesCtx.close()
182+
timer.cancel()
182183
}
183184

184185
private inner class StopSearchTask : TimerTask() {

0 commit comments

Comments
 (0)