Skip to content

Commit

Permalink
sync: enabling tunneled and proxied urls (fixes #3235) (#3236)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Okuro3499 and dogi authored Mar 13, 2024
1 parent 163f564 commit 05c473a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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 1412
versionName "0.14.12"
versionCode 1413
versionName "0.14.13"
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 @@ -64,8 +64,10 @@ class SyncManager private constructor(private val context: Context) {
listener?.onSyncComplete()
}
try {
mRealm.close()
td?.stop()
if (::mRealm.isInitialized && !mRealm.isClosed) {
mRealm.close()
td?.stop()
}
} catch (e: Exception) {
e.printStackTrace()
}
Expand Down

0 comments on commit 05c473a

Please sign in to comment.