orbis1-sdk-rn 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -384,7 +384,13 @@ class RgbModule(reactContext: ReactApplicationContext) :
|
|
|
384
384
|
|
|
385
385
|
fun deleteRuntimeLockFile(masterFingerprint: String) {
|
|
386
386
|
try {
|
|
387
|
-
|
|
387
|
+
val rgbDir = AppConstants.rgbDir
|
|
388
|
+
if (rgbDir == null) {
|
|
389
|
+
Log.i("RGB", "RGB directory is not initialized. Skipping runtime lock deletion.")
|
|
390
|
+
return
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
val runtimeLockPath = rgbDir
|
|
388
394
|
.resolve(masterFingerprint)
|
|
389
395
|
.resolve("rgb_runtime.lock")
|
|
390
396
|
if (!runtimeLockPath.exists()) {
|
package/package.json
CHANGED