1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 07:22:35 +01:00

skip sqlce teardown on mono.

This commit is contained in:
kay.one 2013-02-16 21:39:17 -08:00
parent 3c2d1d4707
commit efa44219cf

View File

@ -92,6 +92,11 @@ namespace NzbDrone.Core.Test.Framework
{
ConfigProvider.ClearCache();
if (EnvironmentProvider.IsMono)
{
return;
}
if (_db != null && _db.Connection != null && File.Exists(_db.Connection.Database))
{
var file = _db.Connection.Database;