Browse Source

Fixed bug in rmpool

Heinz N. Gies 12 years ago
parent
commit
f9737b7e33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pooler_sup.erl

+ 1 - 1
src/pooler_sup.erl

@@ -41,7 +41,7 @@ rm_pool(Name) ->
         {error, not_found} ->
         {error, not_found} ->
             ok;
             ok;
         ok ->
         ok ->
-            supervisor:terminate_child(?MODULE, SupName);
+            supervisor:delete_child(?MODULE, SupName);
         Error ->
         Error ->
             Error
             Error
     end.
     end.