Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qjs-wrapper
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
1
Merge Requests
1
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
nexedi
qjs-wrapper
Commits
97e9f0ff
Commit
97e9f0ff
authored
Jun 04, 2023
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix exit hanging when pubsub was not started
parent
35165835
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
qjs_wrapper.c
qjs_wrapper.c
+2
-1
No files found.
qjs_wrapper.c
View file @
97e9f0ff
...
...
@@ -12,7 +12,7 @@
static
JSClassID
jsDroneClassId
;
static
UA_Boolean
pubsubShouldRun
=
true
;
static
UA_Boolean
pubsubExited
=
fals
e
;
static
UA_Boolean
pubsubExited
=
tru
e
;
static
UA_UInt32
nbDrone
;
static
UA_UInt32
nbSubscriber
;
...
...
@@ -447,6 +447,7 @@ static JSValue js_run_pubsub(JSContext *ctx, JSValueConst this_val,
instanceArray
[
i
].
init_node_id
=
init_subscriber_node_id
;
}
pubsubExited
=
false
;
res
=
runPubsub
(
logger
,
&
transportProfile
,
&
networkAddressUrl
,
variables
,
id
,
instanceArray
,
nbPeer
,
MAX_VARIABLE_NB
,
interval
,
get_drone_id
,
pubsub_get_value
,
pubsub_update_variables
,
...
...
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