From 0bcedc688dff0ab7450e25ee40f2f8d6004427ca Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sat, 9 Dec 2006 15:47:01 +0000 Subject: [PATCH] Blocked revisions 48361 via svnmerge ........ r48361 | russell | 2006-12-09 10:45:37 -0500 (Sat, 09 Dec 2006) | 6 lines Use locking when accessing the registrations list. This list is not actually used very often, so the likelihood of there being a problem is pretty small, but still possible. For example, if the CLI command to list the registrations was called at the same time that a reload was occurring and the registrations list was getting destroyed and rebuilt, a crash could occur. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48362 65c4cc65-6c06-0410-ace0-fbb531ad65f3