Skip to content

Commit e5875e7

Browse files
committed
Fixing build
1 parent 7fba5df commit e5875e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/net45/WampSharp/WAMP2/V2/Transports/InMemory/InMemoryConnectionListener.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ public InMemoryConnection(IWampBinding<TMessage> binding, IObservable<WampMessag
7474
mBinding = binding;
7575

7676
IDisposable connectionClosedSubscription =
77-
mConnectionClosed.Subscribe(x => RaiseConnectionClosed());
77+
mConnectionClosed.Take(1)
78+
.Subscribe(x => RaiseConnectionClosed());
7879

7980
IDisposable connectionOpenSubscription =
8081
mConnectionOpen.Subscribe(x => RaiseConnectionOpen());

0 commit comments

Comments
 (0)