Skip to content

Commit f4073bc

Browse files
author
Dimitri Nikitopoulos
committed
fix: update latching check and test
1 parent a4d185a commit f4073bc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/RosNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class RosNode extends EventEmitter {
115115
if (!subImpl) {
116116
subImpl = new SubscriberImpl(options, this);
117117
this._subscribers[topic] = subImpl;
118-
this.firstSubscriber = true;
118+
firstSubscriber = true;
119119
}
120120

121121
const sub = new Subscriber(subImpl);

test/xmlrpcTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ describe('Protocol Test', () => {
740740
});
741741
});
742742

743-
it.only('2 Subscribers on Same Latched Topic subscribing at different times ', function(done) {
743+
it('2 Subscribers on Same Latched Topic subscribing at different times ', function(done) {
744744
this.slow(1000);
745745
const nh = rosnodejs.nh;
746746

0 commit comments

Comments
 (0)