Fix createQueue when app already registered

This commit is contained in:
S1m 2021-11-26 03:22:52 +01:00
parent 88030808a5
commit 922ace407f
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ private fun cCreateApp(context: Context,
val db = getDb(context)
if (db.isRegistered(appName, connectorToken)) {
Log.i("RegisterService","$appName already registered")
createQueue.remove(connectorToken)
callback()
return
}