mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Remove apps from the database when they are removed from the app list
This commit is contained in:
1 parent
2ec7d1d2f1
commit
0ae58c61a9
3 files changed
+16
No files matched your search
@@ -195,6 +195,11 @@ static NSMutableSet* hostList;
|
||||
|
||||
[host.appList removeObject:app];
|
||||
|
||||
// It's important to remove the app record from the database
|
||||
// since we'll have a constraint violation now that appList
|
||||
// doesn't have this app in it.
|
||||
[database removeApp:app];
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user