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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tom Niget
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
Hide 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
...
@@ -10,8 +10,8 @@ parts = qjs-wrapper
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
configure-command = true
configure-command = true
url = https://lab.nexedi.com/nexedi/qjs-wrapper/-/archive/v1.
1/qjs-wrapper-v1.1
.tar.gz
url = https://lab.nexedi.com/nexedi/qjs-wrapper/-/archive/v1.
2/qjs-wrapper-v1.2
.tar.gz
md5sum =
6a22c65c78f54f218c85334580bfb522
md5sum =
e335fc2251610c09dde3e74787317d98
environment =
environment =
C_INCLUDE_PATH=include:${open62541:location}/include:${open62541:location}/deps:${open62541:location}/src/pubsub:${quickjs:location}/include
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
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
...
@@ -26,7 +26,7 @@ md5sum = 1ff50063f5a54712a0bc0ff38fa74630
[main]
[main]
filename = main.js
filename = main.js
md5sum =
c381d2a6c4008a9ef69dd176d3a06028
md5sum =
5f66cdcc84945749e1f8f7b017e70fc2
[pubsub]
[pubsub]
filename = pubsub.js
filename = pubsub.js
...
...
software/js-drone/main.js
View file @
e789e704
...
@@ -47,10 +47,10 @@ import { open, exit } from "std";
...
@@ -47,10 +47,10 @@ import { open, exit } from "std";
}
}
function
quit
(
is_a_drone
,
exit_code
)
{
function
quit
(
is_a_drone
,
exit_code
)
{
stopPubsub
();
if
(
is_a_drone
)
{
if
(
is_a_drone
)
{
stop
();
stop
();
}
}
stopPubsub
();
exit
(
exit_code
);
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