Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alain Takoudjou
slapos
Commits
e789e704
Commit
e789e704
authored
Oct 07, 2022
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/js-drone: fix Pub/Sub server exit
Make sure to stop Pub/Sub server before stopping MavSDK thread
parent
a14f1408
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
component/qjs-wrapper/buildout.cfg
component/qjs-wrapper/buildout.cfg
+2
-2
software/js-drone/buildout.hash.cfg
software/js-drone/buildout.hash.cfg
+1
-1
software/js-drone/main.js
software/js-drone/main.js
+1
-1
No files found.
component/qjs-wrapper/buildout.cfg
View file @
e789e704
...
...
@@ -10,8 +10,8 @@ parts = qjs-wrapper
recipe = slapos.recipe.cmmi
shared = true
configure-command = true
url = https://lab.nexedi.com/nexedi/qjs-wrapper/-/archive/v1.
1/qjs-wrapper-v1.1
.tar.gz
md5sum =
6a22c65c78f54f218c85334580bfb522
url = https://lab.nexedi.com/nexedi/qjs-wrapper/-/archive/v1.
2/qjs-wrapper-v1.2
.tar.gz
md5sum =
e335fc2251610c09dde3e74787317d98
environment =
C_INCLUDE_PATH=include:${open62541:location}/include:${open62541:location}/deps:${open62541:location}/src/pubsub:${quickjs:location}/include
CPLUS_INCLUDE_PATH=include:${mavsdk:location}/include:${mavsdk:location}/include/mavsdk
...
...
software/js-drone/buildout.hash.cfg
View file @
e789e704
...
...
@@ -26,7 +26,7 @@ md5sum = 1ff50063f5a54712a0bc0ff38fa74630
[main]
filename = main.js
md5sum =
c381d2a6c4008a9ef69dd176d3a06028
md5sum =
5f66cdcc84945749e1f8f7b017e70fc2
[pubsub]
filename = pubsub.js
...
...
software/js-drone/main.js
View file @
e789e704
...
...
@@ -47,10 +47,10 @@ import { open, exit } from "std";
}
function
quit
(
is_a_drone
,
exit_code
)
{
stopPubsub
();
if
(
is_a_drone
)
{
stop
();
}
stopPubsub
();
exit
(
exit_code
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment