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 bcd91d5 commit 4f31db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mytharchive/mytharchive/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ int mythplugin_init(const char *libversion)
"Couldn't upgrade database to new schema, exiting.");
return -1;
}
gContext->ActivateSettingsCache(false);
gContext->ActivateSettingsCache(true);

ArchiveSettings settings;
settings.Load();
Expand Down

0 comments on commit 4f31db5

Please sign in to comment.