aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_callgraph.erl
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-02-22 15:31:16 +0100
committerHenrik Nord <[email protected]>2012-05-21 15:31:21 +0200
commit913ee73601e3f7d0b27d833bd67cf6ee3868018a (patch)
tree0b7741805199e9a24eecd407c437046804c90780 /lib/dialyzer/src/dialyzer_callgraph.erl
parentd0419ddb2e43b1ed957108712e9bf9505d7a0c01 (diff)
downloadotp-913ee73601e3f7d0b27d833bd67cf6ee3868018a.tar.gz
otp-913ee73601e3f7d0b27d833bd67cf6ee3868018a.tar.bz2
otp-913ee73601e3f7d0b27d833bd67cf6ee3868018a.zip
All spawns are now spawn_links
Diffstat (limited to 'lib/dialyzer/src/dialyzer_callgraph.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_callgraph.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_callgraph.erl b/lib/dialyzer/src/dialyzer_callgraph.erl
index 80f2c48676..0384160abc 100644
--- a/lib/dialyzer/src/dialyzer_callgraph.erl
+++ b/lib/dialyzer/src/dialyzer_callgraph.erl
@@ -724,7 +724,7 @@ put_behaviour_api_calls(Calls,
new_race_data_server() ->
- spawn(fun() -> race_data_server_loop(#race_data_state{}) end).
+ spawn_link(fun() -> race_data_server_loop(#race_data_state{}) end).
race_data_server_loop(State) ->
receive
@@ -770,7 +770,7 @@ race_data_server_handle_call(Query,
beh_api_calls = BehApiCalls}
= State) ->
case Query of
- dup -> spawn(fun() -> race_data_server_loop(State) end);
+ dup -> spawn_link(fun() -> race_data_server_loop(State) end);
get_race_code -> RaceCode;
get_public_tables -> PublicTables;
get_named_tables -> NamedTables;