mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-19 04:41:42 +00:00
skip sqlce teardown on mono.
This commit is contained in:
parent
3c2d1d4707
commit
efa44219cf
1 changed files with 5 additions and 0 deletions
|
@ -92,6 +92,11 @@ namespace NzbDrone.Core.Test.Framework
|
||||||
{
|
{
|
||||||
ConfigProvider.ClearCache();
|
ConfigProvider.ClearCache();
|
||||||
|
|
||||||
|
if (EnvironmentProvider.IsMono)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (_db != null && _db.Connection != null && File.Exists(_db.Connection.Database))
|
if (_db != null && _db.Connection != null && File.Exists(_db.Connection.Database))
|
||||||
{
|
{
|
||||||
var file = _db.Connection.Database;
|
var file = _db.Connection.Database;
|
||||||
|
|
Loading…
Reference in a new issue