Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion make_libmodbus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd ./libmodbus/
# reset to patch commit number
git reset --hard 79a7c1ea82e5bb2e13c8efc77cb3e8a6d7368c58

patch -c -p2 < ../mt.patch
patch -p0 < ../mt.patch

#./autogen.sh && ./configure --enable-static=yes --enable-shared=no && make
./autogen.sh && ./configure && make
2 changes: 1 addition & 1 deletion modbus.js
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ function createMasterRtu(a, con, cbs) {
api.destroy = function () {
isWorking = false;

mb.close(ctx);
mb.close_mt(ctx);
mb.free(ctx);

ctx = null;
Expand Down
Loading