mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
UI: Delete cookies on profile removal
This commit is contained in:
1 parent
e67d04270a
commit
7edbb2f149
2 files changed
+11
No files matched your search
@@ -28,6 +28,7 @@
|
||||
extern void DestroyPanelCookieManager();
|
||||
extern void DuplicateCurrentCookieProfile(ConfigFile &config);
|
||||
extern void CheckExistingCookieId();
|
||||
extern void DeleteCookies();
|
||||
|
||||
void EnumProfiles(std::function<bool (const char *, const char *)> &&cb)
|
||||
{
|
||||
@@ -461,6 +462,7 @@ void OBSBasic::on_actionRemoveProfile_triggered()
|
||||
|
||||
Auth::Save();
|
||||
auth.reset();
|
||||
DeleteCookies();
|
||||
DestroyPanelCookieManager();
|
||||
|
||||
config.Swap(basicConfig);
|
||||
|
||||
Reference in new issue
Block a user