diff --git a/Example.Frontend/Program.cs b/Example.Frontend/Program.cs
index c892c90..28957ce 100644
--- a/Example.Frontend/Program.cs
+++ b/Example.Frontend/Program.cs
@@ -76,6 +76,7 @@ class Program
Console.WriteLine("Approaching detected");
factory.Register(new ClientBasedPrinter());
+ factory.Register(disposingPrinter);
DemoCheck.ClientBasedImplementation = true;
Console.WriteLine("Registered printer");
Thread.Sleep(100);
diff --git a/mROA.Cbor/mROA.Cbor.csproj b/mROA.Cbor/mROA.Cbor.csproj
index e59df81..1950f08 100644
--- a/mROA.Cbor/mROA.Cbor.csproj
+++ b/mROA.Cbor/mROA.Cbor.csproj
@@ -4,7 +4,7 @@
netstandard2.1
enable
true
- 2.0.1
+ 2.0.2
9
diff --git a/mROA/Implementation/SharedObjectShell.cs b/mROA/Implementation/SharedObjectShell.cs
index a9f5246..e6783c6 100644
--- a/mROA/Implementation/SharedObjectShell.cs
+++ b/mROA/Implementation/SharedObjectShell.cs
@@ -83,7 +83,7 @@ namespace mROA.Implementation
}
private IInstanceRepository GetDefaultContextRepository() =>
- (_identifier.OwnerId == EndPointContext.HostId
+ (_identifier.OwnerId == EndPointContext.OwnerId
? EndPointContext.RealRepository
: EndPointContext.RemoteRepository) ??
throw new NullReferenceException(