diff options
Diffstat (limited to 'src/sg_as_sup.erl')
-rw-r--r-- | src/sg_as_sup.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sg_as_sup.erl b/src/sg_as_sup.erl index 96ab1b7..ee5f06c 100644 --- a/src/sg_as_sup.erl +++ b/src/sg_as_sup.erl @@ -39,7 +39,7 @@ init([Name, Options]) -> AsName = list_to_atom("sg_as_" ++ Name ++ "_fsm"), - StartArgs = [{local, AsName}, xua_as_fsm, [], Options], + StartArgs = [{local, AsName}, xua_as_fsm, [self()], Options], StartFunc = {gen_fsm, start_link, StartArgs}, ChildSpec = {as_fsm, StartFunc, permanent, 4000, worker, [xua_as_fsm]}, |