diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-10-03 17:13:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-03 17:13:39 +0200 |
| commit | 6a575b3f77d2d1a304bb8b80e09d2b26b50bba5d (patch) | |
| tree | afe75e3fc44f80c862e981268deaf771199d239a /Emby.Server.Implementations/Data/ManagedConnection.cs | |
| parent | c60428f869fec7cc0c407ec58a4a111e2908a63d (diff) | |
| parent | 21007aec2038b88734ae19287081bcb1b04f6300 (diff) | |
Merge pull request #6648 from barronpm/implementations-warn1
Diffstat (limited to 'Emby.Server.Implementations/Data/ManagedConnection.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/ManagedConnection.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/ManagedConnection.cs b/Emby.Server.Implementations/Data/ManagedConnection.cs index afc8966f9..44dad5b17 100644 --- a/Emby.Server.Implementations/Data/ManagedConnection.cs +++ b/Emby.Server.Implementations/Data/ManagedConnection.cs @@ -9,8 +9,10 @@ namespace Emby.Server.Implementations.Data { public class ManagedConnection : IDisposable { - private SQLiteDatabaseConnection? _db; private readonly SemaphoreSlim _writeLock; + + private SQLiteDatabaseConnection? _db; + private bool _disposed = false; public ManagedConnection(SQLiteDatabaseConnection db, SemaphoreSlim writeLock) |
