Review Board 1.7.16


res_parking: Unsubscribe and join when unloading.

Review Request #4375 - Created Jan. 26, 2015 and submitted

Joshua Colp
Reviewers
asterisk-dev
Asterisk
There is currently a race condition when unloading the res_parking module. Depending on the will of the universe the subscription invocation may occur AFTER the module is unloaded. This is because the module does NOT use stasis_unsubscribe_and_join when terminating the subscription. It merely uses stasis_unsubscribe.

This change makes it use stasis_unsubscribe_and_join which is documented for usage in this exact scenario.
Unloaded module a few times, it unloaded.
Review request changed
Updated (Jan. 27, 2015, 6:24 a.m.)
  • changed from pending to submitted
Committed in revision 431132

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.