Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
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
Nikola Balog
opcua-asyncio
Commits
b05e0b27
Commit
b05e0b27
authored
Sep 02, 2021
by
oroulet
Committed by
oroulet
Sep 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync api: make sure threadloop is stopped even if disconnect failes
parent
ecc3b1ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
asyncua/sync.py
asyncua/sync.py
+5
-3
No files found.
asyncua/sync.py
View file @
b05e0b27
...
...
@@ -174,9 +174,11 @@ class Client:
pass
def
disconnect
(
self
):
self
.
tloop
.
post
(
self
.
aio_obj
.
disconnect
())
if
self
.
close_tloop
:
self
.
tloop
.
stop
()
try
:
self
.
tloop
.
post
(
self
.
aio_obj
.
disconnect
())
finally
:
if
self
.
close_tloop
:
self
.
tloop
.
stop
()
def
set_user
(
self
,
username
:
str
):
self
.
aio_obj
.
set_user
(
username
)
...
...
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