Avoid program abortion when Python forces shutdown of library by daniel86 · Pull Request #440 · knowrob/knowrob

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@daniel86

Copy link

Member

@daniel86 daniel86 commented

Sep 7, 2024

Python seems to force exit threads in some cases which appears to need some special handling.
Rethrowing of a special exception is needed to avoid abortion.
Best to call ShutdownKnowRob to avoid unclean shutdown

@daniel86 daniel86 changed the title Python shutdown Avoid program abortion when Python forces shutdown of library

Sep 7, 2024

@github-actions

Copy link

github-actions bot commented

Sep 7, 2024

Test Results

156 tests  ±0   156 ✅ ±0   1s ⏱️ ±0s
 20 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit d72bbbf. ± Comparison against base commit 7d7784c.

@daniel86 daniel86 merged commit 3c0ac40 into dev

Sep 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@daniel86