Skip to content

Commit

Permalink
sync: .interupt to stop threads (fixes #3261) (#3266)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <dogi@users.noreply.github.com>
  • Loading branch information
Okuro3499 and dogi authored Mar 18, 2024
1 parent 76cd05e commit 5d365a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 21
targetSdkVersion 34
versionCode 1424
versionName "0.14.24"
versionCode 1425
versionName "0.14.25"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SyncManager private constructor(private val context: Context) {
try {
if (::mRealm.isInitialized && !mRealm.isClosed) {
mRealm.close()
td?.stop()
td?.interrupt()
}
} catch (e: Exception) {
e.printStackTrace()
Expand Down

0 comments on commit 5d365a5

Please sign in to comment.