Skip to content

Commit

Permalink
Merge pull request #25 from dkargin/more_checks
Browse files Browse the repository at this point in the history
More checks when connection is dropped
  • Loading branch information
dkargin authored Jan 9, 2025
2 parents 5c3427e + d614009 commit 2ea66b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.13)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
cmake_policy(SET CMP0077 NEW)

project(miniros VERSION 0.4)
project(miniros VERSION 0.4.1)

include(CheckIncludeFile)
include(CheckIncludeFiles)
Expand Down
1 change: 1 addition & 0 deletions include/miniros/transport/poll_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#ifndef ROSCPP_POLL_MANAGER_H
#define ROSCPP_POLL_MANAGER_H

#include "miniros/macros.h"
#include "miniros/internal/forwards.h"
#include "miniros/internal/observer.h"

Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<package>
<name>miniros</name>
<version>0.3.0</version>
<version>0.4.1</version>
<description>
ROS CXX contains a stripped version of ROS C++ code.
It should become a standalone ROS client without any complex external dependencies.
Expand Down
2 changes: 1 addition & 1 deletion src/transport/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ void Connection::drop(DropReason reason)
for (auto it = drop_watchers_.begin(); it != drop_watchers_.end(); it++)
{
if (!it)
continue;
break;
it->onConnectionDropped(shared_from_this(), reason);
}
}
Expand Down

0 comments on commit 2ea66b3

Please sign in to comment.