mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
Only compile in tracking astobj2 statistics if dev-mode is enabled. Also, when
dev mode is enabled, register the CLI command that can be used to run the astobj2 test and print out statistics. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@82337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2858,6 +2858,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
threadstorage_init();
|
||||
|
||||
astobj2_init();
|
||||
|
||||
if (load_modules(1)) {
|
||||
printf(term_quit());
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user