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

View File

@ -43,7 +43,7 @@
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" /> <PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
<PackageReference Include="Serilog.Sinks.File" Version="4.0.0" /> <PackageReference Include="Serilog.Sinks.File" Version="4.0.0" />
<PackageReference Include="SkiaSharp" Version="1.68.0" /> <PackageReference Include="SkiaSharp" Version="1.68.0" />
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.0.0" /> <PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="1.1.14" />
<PackageReference Include="SQLitePCLRaw.provider.sqlite3.netstandard11" Version="1.1.14" /> <PackageReference Include="SQLitePCLRaw.provider.sqlite3.netstandard11" Version="1.1.14" />
</ItemGroup> </ItemGroup>