UI: Delete cookies on profile removal
This commit is contained in:
parent
e67d04270a
commit
7edbb2f149
2 changed files with 11 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue