[OpenWrt-Devel] [PATCH] procd: instance: Support deleting stopped instances

Kristian Evensen kristian.evensen at gmail.com
Sat Apr 6 06:27:32 EDT 2019


Hi Hans,

On Thu, Apr 4, 2019 at 10:59 PM Hans Dedecker <dedeckeh at gmail.com> wrote:
> instance_delete should only be called when halt is set to true similar
> as in instance_exit

Thanks for the feedback. Just so I make sure I understand correctly,
do you mean that the conditional should look something like this?

 577         if (!in->proc.pending) {
 578                 if (halt)
 579                         instance_delete(in);
 580                 return;
 581         }

BR,
Kristian

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list