Opened 14 years ago

Closed 14 years ago

#1087 closed defect (fixed)

Auto re-registration scheduling should be done before the registration callback

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-1.7
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Application may delete the account in the callback, so it's better/safer to not access the account after the callback. Note that the auto-reregistration timer callback may not be able to avoid accessing the account, so it must do account validity check first.

Change History (1)

comment:1 Changed 14 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

(In [3185]) Fix #1087:

  • Moved auto reregistration scheduling to be before the registration callback.
  • Updated validations in auto_rereg_timer_cb() & schedule_reregistration().
Note: See TracTickets for help on using tickets.