SharedObjectShell bug fix
This commit is contained in:
@@ -76,6 +76,7 @@ class Program
|
|||||||
Console.WriteLine("Approaching detected");
|
Console.WriteLine("Approaching detected");
|
||||||
|
|
||||||
factory.Register(new ClientBasedPrinter());
|
factory.Register(new ClientBasedPrinter());
|
||||||
|
factory.Register(disposingPrinter);
|
||||||
DemoCheck.ClientBasedImplementation = true;
|
DemoCheck.ClientBasedImplementation = true;
|
||||||
Console.WriteLine("Registered printer");
|
Console.WriteLine("Registered printer");
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<TargetFramework>netstandard2.1</TargetFramework>
|
<TargetFramework>netstandard2.1</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
<Version>2.0.1</Version>
|
<Version>2.0.2</Version>
|
||||||
<LangVersion>9</LangVersion>
|
<LangVersion>9</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ namespace mROA.Implementation
|
|||||||
}
|
}
|
||||||
|
|
||||||
private IInstanceRepository GetDefaultContextRepository() =>
|
private IInstanceRepository GetDefaultContextRepository() =>
|
||||||
(_identifier.OwnerId == EndPointContext.HostId
|
(_identifier.OwnerId == EndPointContext.OwnerId
|
||||||
? EndPointContext.RealRepository
|
? EndPointContext.RealRepository
|
||||||
: EndPointContext.RemoteRepository) ??
|
: EndPointContext.RemoteRepository) ??
|
||||||
throw new NullReferenceException(
|
throw new NullReferenceException(
|
||||||
|
|||||||
Reference in New Issue
Block a user