Fix master

This commit is contained in:
Bond_009
2019-08-15 00:00:21 +02:00
parent ca12763adc
commit d62a3f0e57
2 changed files with 3 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ namespace Emby.Server.Implementations.Data
}
WriteConnection.Execute("PRAGMA temp_store=" + (int)TempStore);
// Configuration and pragmas can affect VACUUM so it needs to be last.
WriteConnection.Execute("VACUUM");
@@ -218,7 +218,7 @@ namespace Emby.Server.Implementations.Data
WriteLock.Wait();
try
{
WriteConnection.Dispose();
WriteConnection?.Dispose();
}
finally
{