Closed roumieu closed 1 year ago
Timer callback can be executed at the same time as another thread calls the igs_timer_stop method and thus access a freed pointer of an igs_timer_t.
Solution: Add same mutex as in creation/deletion in the timeout callback to access the igs_timer_t
Timer callback can be executed at the same time as another thread calls the igs_timer_stop method and thus access a freed pointer of an igs_timer_t.
Solution: Add same mutex as in creation/deletion in the timeout callback to access the igs_timer_t