diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2019-08-14 15:05:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-14 15:05:35 -0700 |
| commit | 535e0d25538a7f19d927d96e3fd4fba553ed83f4 (patch) | |
| tree | 7ea5c68c663921293dee4df2d1260cccb3bb5617 | |
| parent | ca12763adcab7ce9d5b60f4a436357e9794e4a49 (diff) | |
| parent | d62a3f0e5735347ecca0bf7e00c4388b3783e54b (diff) | |
Merge pull request #1625 from Bond-009/crash
Fix instant crash.
| -rw-r--r-- | Emby.Server.Implementations/Data/BaseSqliteRepository.cs | 4 | ||||
| -rw-r--r-- | Jellyfin.Server/Jellyfin.Server.csproj | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs index 010ad6384..a5bb47afb 100644 --- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs +++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs @@ -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 { diff --git a/Jellyfin.Server/Jellyfin.Server.csproj b/Jellyfin.Server/Jellyfin.Server.csproj index e87283477..ec7c026e5 100644 --- a/Jellyfin.Server/Jellyfin.Server.csproj +++ b/Jellyfin.Server/Jellyfin.Server.csproj @@ -43,7 +43,7 @@ <PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" /> <PackageReference Include="Serilog.Sinks.File" Version="4.0.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" /> </ItemGroup> |
