[erlang-patches] Re: Supervisor Shutdown

Henrik Nord <>
Mon Apr 4 15:32:37 CEST 2011


On 04/01/2011 09:14 PM, Vance Shipley wrote:
> In a recent project(*) I found it necessary to forge an EXIT
> message in order to shutdown a supervisor which I had earlier
> dynamically added as a child to a simple_one_for_one supervisor.
> Finding this rather distasteful I created the attached patch to
> add a terminate/1 function to the supervisor module.
>
> 	git fetch :vances/otp.git supervisor_terminate
>
>    
>
>
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches
>    
Thank you for your patch.
We will investigate this further the coming days.
Until then would you be so kind as to complete the patch with tests?

https://github.com/erlang/otp/wiki/Submitting-patches

Thank you

-- 
/Henrik Nord Erlang/OTP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20110404/b3e855c1/attachment.html>


More information about the erlang-patches mailing list