Menu

#182 _running() in bpsource does not remember set value

4.1.4 - GitHub
closed
Jay Gao
None
1
2025-11-14
2022-12-08
No

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, <state> variable has to be declared as static to keep the value between function calls.</state>

Discussion

  • Jay Gao

    Jay Gao - 2023-01-06
    • status: open --> accepted
    • assigned_to: Jay Gao
     
  • Jay Gao

    Jay Gao - 2023-12-20
    • Group: 4.1.2 --> 4.1.4 - GitHub
     
  • Jay Gao

    Jay Gao - 2025-11-14
    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB