Skip to content

Commit

Permalink
Merge branch 'main' into fix_issue_430
Browse files Browse the repository at this point in the history
  • Loading branch information
caguero authored Aug 25, 2023
2 parents df5e6e5 + e176237 commit d0c30de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/src/transport/_gz_transport_pybind11.cc
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ PYBIND11_MODULE(BINDINGS_MODULE_NAME, m) {
{
auto _cb = [_callback](const char *_msgData, const size_t _size,
const MessageInfo &_info){
pybind11::gil_scoped_acquire acq;
return _callback(py::bytes(_msgData, _size), _info);
};
return _node.SubscribeRaw(_topic, _cb, _msgType, _opts);
Expand Down

0 comments on commit d0c30de

Please sign in to comment.