diff options
author | Walter Doekes <walter+asterisk@wjd.nu> | 2012-01-09 19:37:23 +0000 |
---|---|---|
committer | Walter Doekes <walter+asterisk@wjd.nu> | 2012-01-09 19:37:23 +0000 |
commit | a2a3b3ee4bac7f2fcef2481c83a0741e5fc699ad (patch) | |
tree | 76dde19da075019df5aa521a696b22bce092fa68 /apps/app_alarmreceiver.c | |
parent | f9db1ac0ae02386931976828088192b4b5d04ba0 (diff) |
Fix shutdown handling of sqlite3 astdb.
If a db_sync was scheduled just before shutdown, the atexit code calling
db_sync would have no effect, causing the astdb commit thread to stay
alive. This caused the SIP/realtime_sipregs test to fail. (The fallback
kill would run the atexit code again and that would wreak havoc.) This
fixes that the atexit kill condition is picked up properly.
(closes issue ASTERISK-18883)
Reviewed by: Terry Wilson
Review: https://reviewboard.asterisk.org/r/1659
........
Merged revisions 350180 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@350181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_alarmreceiver.c')
0 files changed, 0 insertions, 0 deletions