erlang-mysql doesn't release the connection when worker crash and restart!

wenew zhang <>
Thu Jul 2 05:51:57 CEST 2009


use erlang-mysql in my project,
it’s a supervisor->work structure and start mysql:start_link() in the work,
when the work crashed,
the mysql-connections to still keep alive,
i add process_flag(trap_exit, true) in mysql:init and mysql_conn:init
but it doesn’t working!
what shall i do?

wenew zhang


More information about the erlang-questions mailing list