[erlang-questions] [Q]: OTP applications

Ladislav Lenart lenartlad@REDACTED
Wed Jun 20 17:24:50 CEST 2007


Hello,

I have my own application which starts mnesia in my_app:start/2
via mnesia:start() and stops it in my_app:stop/1 via mnesia:stop().
But when my application starts successfuly and then is about to
terminate (my_app:stop/1 is called), mnesia:stop/1 never returns.

What is going on? What is the proper way of stopping such "slave"
applications? BTW mnesia is listed in included_applications of
my_app.

Thanks,

Ladislav Lenart




More information about the erlang-questions mailing list