diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-08-15 00:00:21 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-08-15 00:00:21 +0200 |
| commit | d62a3f0e5735347ecca0bf7e00c4388b3783e54b (patch) | |
| tree | 7ea5c68c663921293dee4df2d1260cccb3bb5617 /Emby.Server.Implementations/Data/BaseSqliteRepository.cs | |
| parent | ca12763adcab7ce9d5b60f4a436357e9794e4a49 (diff) | |
Fix master
Diffstat (limited to 'Emby.Server.Implementations/Data/BaseSqliteRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/BaseSqliteRepository.cs | 4 |
1 files changed, 2 insertions, 2 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 { |
