Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SF: _running() in bpsource does not remember set value #5

Open
iondev33 opened this issue Dec 20, 2023 · 0 comments
Open

SF: _running() in bpsource does not remember set value #5

iondev33 opened this issue Dec 20, 2023 · 0 comments
Assignees
Labels
Source Forge - bug bug report migrated from SF
Milestone

Comments

@iondev33
Copy link
Collaborator

Hey I didn't notice that there is a ticket option on sourceforge and just create a merge request right away (https://sourceforge.net/p/ion-dtn/code/merge-requests/3/).

Anyway, as stated in the merge request:
The implementation of running() in bpsource has a bug that might prevent the application from closing. As I understand, the behaviour of running() should be that it remembers the last value passed to it and returns this value whenever called with NULL. To achieve that, variable has to be declared as static to keep the value between function calls.

@iondev33 iondev33 added the Source Forge - bug bug report migrated from SF label Dec 20, 2023
@iondev33 iondev33 added this to the ION 4.1.3 milestone Dec 20, 2023
@iondev33 iondev33 self-assigned this Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source Forge - bug bug report migrated from SF
Projects
None yet
Development

No branches or pull requests

1 participant