Skip to content

Commit

Permalink
Fixes #10534. Reenable the DB settings cache after the schema check.
Browse files Browse the repository at this point in the history
If mytharchive was the last plugin loaded, it accidentally left the DB
settings cache disabled.  This could be very noticeable when loading
the Watch Recordings screen.
(cherry picked from commit bbd0880)
  • Loading branch information
stichnot authored and stuartm committed Apr 2, 2012
1 parent 322de47 commit 91a06b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mytharchive/mytharchive/main.cpp
Expand Up @@ -325,7 +325,7 @@ int mythplugin_init(const char *libversion)
"Couldn't upgrade database to new schema, exiting.");
return -1;
}
gCoreContext->ActivateSettingsCache(false);
gCoreContext->ActivateSettingsCache(true);

ArchiveSettings settings;
settings.Load();
Expand Down

0 comments on commit 91a06b9

Please sign in to comment.