From defe682c1dc4da8210b00c860f771df1ed3b4114 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 22 Apr 2008 15:21:21 +0000 Subject: [PATCH] Blocked revisions 114523 via svnmerge ................ r114523 | russell | 2008-04-22 10:20:53 -0500 (Tue, 22 Apr 2008) | 20 lines Blocked revisions 114522 via svnmerge ........ r114522 | russell | 2008-04-22 10:20:37 -0500 (Tue, 22 Apr 2008) | 13 lines Merge changes from team/russell/issue_9520 These changes make sure that the reference count for sip_peer objects properly reflects the fact that the peer is sitting in the scheduler for a scheduled callback for qualifying peers or for expiring registrations. Without this, it was possible for these callbacks to happen at the same time that the peer was being destroyed. This was especially likely to happen with realtime peers, and for people making use of the realtime prune CLI command. (closes issue #9520) Reported by: kryptolus Committed patch by me ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114524 65c4cc65-6c06-0410-ace0-fbb531ad65f3