Skip to content

Commit 70284f5

Browse files
authored
Fixing a small bug in the RosTopicState.cs where MessageSender would always be null. (#208)
1 parent 65c4066 commit 70284f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/RosTopicState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class RosTopicState
2020
public string RosMessageName => m_RosMessageName;
2121

2222
TopicMessageSender m_MessageSender;
23-
public TopicMessageSender MessageSender;
23+
public TopicMessageSender MessageSender => m_MessageSender;
2424
public bool IsPublisher { get; private set; }
2525
public bool IsPublisherLatched { get; private set; }
2626
public bool SentPublisherRegistration { get; private set; }

0 commit comments

Comments
 (0)