提交 9611e1e8 编写于 作者: C CyrusNajmabadi

Properly handle null paths being passed to the RemotePersistenceService.

上级 4c91e16f
......@@ -33,8 +33,15 @@ public static void UpdateStorageLocation(SolutionId id, string storageLocation)
{
lock (_gate)
{
// Store the esent database in a different location for the out of proc server.
_idToStorageLocation[id] = Path.Combine(storageLocation, "Server");
if (storageLocation == null)
{
_idToStorageLocation.Remove(id);
}
else
{
// Store the esent database in a different location for the out of proc server.
_idToStorageLocation[id] = Path.Combine(storageLocation, "Server");
}
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册