Added new 'root' supervisor, and mnesia as child to this supervisor
This commit is contained in:
parent
3d8b413a8f
commit
3285bb9a7e
6 changed files with 110 additions and 6 deletions
|
@ -109,6 +109,7 @@ do_JSCall(Socket, Data, State) ->
|
|||
{hello} ->
|
||||
Client = getRef(),
|
||||
send(Socket, Client, "__ok_hello"),
|
||||
%gen_server:call(ggs_mnesia_controller_server, {hello, "Someone said hello!"}),
|
||||
{Client, JSVM};
|
||||
{echo, RefID, _, MSG} ->
|
||||
send(Socket, RefID, "Your VM is ", getJSVM(RefID, State)),
|
||||
|
|
Reference in a new issue