Error printed when deleting a registered pj::Account

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
When I delete a pj::Account that is registered, the following is
printed in the console:

endpoint.cpp !..Error: cannot find Account instance for account id X
in on_reg_started()

This happens because Account::~Account() does:

pjsua_acc_set_user_data(id, NULL);
pjsua_acc_del(id);

and pjsua_acc_del(id) calls Endpoint::on_reg_started(id, PJ_FALSE)

This appears to be harmless. Should the error print simply be removed?
Or is there a better solution to avoiding this error?

Thanks,
Kal

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux