Flush trace file driver before stopping dbg
Flush trace file driver before stopping dbg

Earlier dbg:stop only did erlang:trace_delivered and did not flush the
trace file driver. Therefore there could still be trace messages that
were delivered to the driver (guaranteed by erlang:trace_delivered)
but not yet written to the file. This commit adds this flushing on
each node before the dbg process terminates.

ader1990/otp,hairyhum/otp,vic/otp,g-andrade/otp,sitexa/otp,paladim/otp,derek121/otp,jinshana/otp,entropiae/otp,lightcyphers/otp,jj1bdx/otp,cnbin/otp,Teino1978-Corp/otp,marquisthunder/otp,ahmedshafeeq/otp,vladdu/otp,erlang/otp,vinoski/otp,emile/otp,lantti/otp,paulcager/otp,riverrun/otp,yangchengjian/otp,paulcager/otp,vinoski/otp,RJ/otp,lrascao/otp,bsmr-erlang/otp,g-andrade/otp,lrascao/otp,neeraj9/otp,bjorng/otp,awetzel/otp,RJ/otp,riverrun/otp,vinoski/otp,dgud/otp,klarna/otp,erlang/otp,dgud/otp,hairyhum/otp,c-rack/otp,fenollp/otp,cobusc/otp,kvakvs/otp,RichMorin/otp,lianghaivv/otp,lucafavatella/otp,bernardd/otp,tuncer/otp,lantti/otp,enikki/otp,benoitc/otp-1,rlipscombe/otp,aboroska/otp,legoscia/otp,tuncer/otp,Teino1978-Corp/erlang-otp,aboroska/otp,enikki/otp,jemsbhai/otp,kvakvs/otp,saleyn/otp,ader1990/otp,krishnakumar4a4/otp,isvilen/otp,goertzenator/otp,RaimoNiskanen/otp,paulcager/otp,RJ/otp,emacsmirror/erlang,legoscia/otp,saleyn/otp,jemsbhai/otp,gjaldon/otp,vladdu/otp,sdebnath/otp,NOMORECOFFEE/otp,uabboli/otp,electricimp/otp,stolen/otp,bugs-erlang-org/otp,rlipscombe/otp,platinumthinker/otp,erlang/otp,johanclaesson/otp,bernardd/otp,lhslll/otp,enikki/otp,palas/otp,vic/otp,johanclaesson/otp,mujiatong/otp,stolen/otp,rlipscombe/otp,mikpe/otp,release-project/otp,paulcager/otp,basho/otp,jj1bdx/otp,tuncer/otp,basho/otp,RichMorin/otp,jamesruan/otp,release-project/otp,falkevik/otp,VincentHHL/otp,tuncer/otp,riverrun/otp,lemenkov/otp,release-project/otp,RGafiyatullin/otp,bernardd/otp,krishnakumar4a4/otp,gjaldon/otp,lianghaivv/otp,bernardd/otp,mujiatong/otp,fenollp/otp,lhslll/otp,lantti/otp,sdebnath/otp,emacsmirror/erlang,jinshana/otp,stolen/otp,neeraj9/otp,RGafiyatullin/otp,uabboli/otp,palas/otp,entropiae/otp,jinshana/otp,RaimoNiskanen/otp,jemsbhai/otp,theom/otp,uabboli/otp,bernardd/otp,ader1990/otp,haguenau/otp,electricimp/otp,vinoski/otp,weisslj/otp,saleyn/otp,c-rack/otp,lemenkov/otp,RGafiyatullin/otp,beni55/otp,yangchengjian/otp,matwey/otp,erlang/otp,g-andrade/otp,GinjaNinja32/otp,lantti/otp,c-rack/otp,saleyn/otp,rlipscombe/otp,electricimp/otp,lightcyphers/otp,dumbbell/otp,RichMorin/otp,lightcyphers/otp,mikpe/otp,psyeugenic/otp,schlagert/otp,klarna/otp,lucafavatella/otp,rlipscombe/otp,paulcager/otp,uabboli/otp,lantti/otp,weisslj/otp,stolen/otp,electricimp/otp,jj1bdx/otp,RaimoNiskanen/otp,weisslj/otp,emacsmirror/erlang,neeraj9/otp,getong/otp,krishnakumar4a4/otp,psyeugenic/otp,mikpe/otp,schlagert/otp,lhslll/otp,lemenkov/otp,palas/otp,legoscia/otp,ferd/otp,potatosalad/otp,marquisthunder/otp,matwey/otp,paladim/otp,mikpe/otp,fenollp/otp,dumbbell/otp,legoscia/otp,vinoski/otp,goertzenator/otp,rlipscombe/otp,aboroska/otp,legoscia/otp,cnbin/otp,hairyhum/otp,psyeugenic/otp,beni55/otp,riverrun/otp,getong/otp,dumbbell/otp,bjorng/otp,krishnakumar4a4/otp,dumbbell/otp,g-andrade/otp,msantos/otp,matwey/otp,ahmedshafeeq/otp,cobusc/otp,electricimp/otp,sitexa/otp,vladdu/otp,jinshana/otp,rlipscombe/otp,RaimoNiskanen/otp,derek121/otp,cobusc/otp,RoadRunnr/otp,aboroska/otp,paladim/otp,potatosalad/otp,krishnakumar4a4/otp,erlang/otp,emile/otp,emacsmirror/erlang,RJ/otp,msantos/otp,Teino1978-Corp/erlang-otp,isvilen/otp,lrascao/otp,RoadRunnr/otp,c-rack/otp,bsmr-erlang/otp,riverrun/otp,emile/otp,neeraj9/otp,basho/otp,sdebnath/otp,weisslj/otp,ferd/otp,mikpe/otp,vinoski/otp,cnbin/otp,electricimp/otp,sitexa/otp,enikki/otp,sdebnath/otp,sitexa/otp,uabboli/otp,potatosalad/otp,derek121/otp,GinjaNinja32/otp,jamesruan/otp,RaimoNiskanen/otp,g-andrade/otp,Teino1978-Corp/otp,entropiae/otp,basho/otp,potatosalad/otp,massemanet/otp,GinjaNinja32/otp,massemanet/otp,matwey/otp,isvilen/otp,lrascao/otp,entropiae/otp,legoscia/otp,theom/otp,palas/otp,fenollp/otp,kvakvs/otp,uabboli/otp,RoadRunnr/otp,stolen/otp,lucafavatella/otp,RaimoNiskanen/otp,sammoth-wazoku/otp,potatosalad/otp,Teino1978-Corp/erlang-otp,getong/otp,dgud/otp,lianghaivv/otp,lhslll/otp,goertzenator/otp,RoadRunnr/otp,emile/otp,release-project/otp,derek121/otp,massemanet/otp,dgud/otp,johanclaesson/otp,kvakvs/otp,weisslj/otp,aboroska/otp,platinumthinker/otp,RaimoNiskanen/otp,emacsmirror/erlang,stolen/otp,derek121/otp,tuncer/otp,dgud/otp,isvilen/otp,lemenkov/otp,awetzel/otp,lhslll/otp,vladdu/otp,gjaldon/otp,matwey/otp,basho/otp,Teino1978-Corp/otp,lhslll/otp,neeraj9/otp,vladdu/otp,bsmr-erlang/otp,fenollp/otp,kvakvs/otp,benoitc/otp-1,falkevik/otp,potatosalad/otp,hairyhum/otp,beni55/otp,lightcyphers/otp,lianghaivv/otp,yangchengjian/otp,isvilen/otp,isvilen/otp,ferd/otp,basho/otp,getong/otp,jamesruan/otp,johanclaesson/otp,enikki/otp,dgud/otp,bjorng/otp,awetzel/otp,platinumthinker/otp,saleyn/otp,beni55/otp,msantos/otp,goertzenator/otp,jinshana/otp,schlagert/otp,bjorng/otp,ahmedshafeeq/otp,ader1990/otp,benoitc/otp-1,jinshana/otp,jamesruan/otp,bjorng/otp,lightcyphers/otp,lrascao/otp,jj1bdx/otp,platinumthinker/otp,bugs-erlang-org/otp,RoadRunnr/otp,derek121/otp,vic/otp,massemanet/otp,jamesruan/otp,klarna/otp,bugs-erlang-org/otp,g-andrade/otp,mujiatong/otp,isvilen/otp,platinumthinker/otp,RJ/otp,vic/otp,klarna/otp,cobusc/otp,RoadRunnr/otp,riverrun/otp,awetzel/otp,benoitc/otp-1,RoadRunnr/otp,g-andrade/otp,lrascao/otp,jamesruan/otp,benoitc/otp-1,VincentHHL/otp,VincentHHL/otp,derek121/otp,haguenau/otp,massemanet/otp,lianghaivv/otp,rlipscombe/otp,psyeugenic/otp,bjorng/otp,erlang/otp,psyeugenic/otp,RichMorin/otp,kvakvs/otp,entropiae/otp,RGafiyatullin/otp,riverrun/otp,weisslj/otp,bugs-erlang-org/otp,GinjaNinja32/otp,paladim/otp,saleyn/otp,msantos/otp,gjaldon/otp,release-project/otp,getong/otp,entropiae/otp,dumbbell/otp,sammoth-wazoku/otp,jj1bdx/otp,massemanet/otp,cobusc/otp,benoitc/otp-1,RichMorin/otp,aboroska/otp,ahmedshafeeq/otp,gjaldon/otp,bsmr-erlang/otp,RJ/otp,ahmedshafeeq/otp,Teino1978-Corp/erlang-otp,getong/otp,marquisthunder/otp,rlipscombe/otp,lhslll/otp,Teino1978-Corp/otp,schlagert/otp,dumbbell/otp,sammoth-wazoku/otp,bugs-erlang-org/otp,paulcager/otp,RaimoNiskanen/otp,lucafavatella/otp,paulcager/otp,emacsmirror/erlang,sammoth-wazoku/otp,marquisthunder/otp,aboroska/otp,krishnakumar4a4/otp,palas/otp,potatosalad/otp,sammoth-wazoku/otp,ferd/otp,dumbbell/otp,basho/otp,falkevik/otp,sammoth-wazoku/otp,ferd/otp,sdebnath/otp,release-project/otp,lemenkov/otp,isvilen/otp,NOMORECOFFEE/otp,ader1990/otp,uabboli/otp,VincentHHL/otp,ader1990/otp,legoscia/otp,bjorng/otp,RaimoNiskanen/otp,GinjaNinja32/otp,haguenau/otp,lightcyphers/otp,sitexa/otp,schlagert/otp,GinjaNinja32/otp,psyeugenic/otp,paladim/otp,goertzenator/otp,yangchengjian/otp,weisslj/otp,platinumthinker/otp,ader1990/otp,bjorng/otp,getong/otp,schlagert/otp,dgud/otp,lemenkov/otp,jinshana/otp,potatosalad/otp,ahmedshafeeq/otp,emacsmirror/erlang,legoscia/otp,hairyhum/otp,Teino1978-Corp/erlang-otp,vic/otp,goertzenator/otp,NOMORECOFFEE/otp,RGafiyatullin/otp,mikpe/otp,erlang/otp,emacsmirror/erlang,enikki/otp,RichMorin/otp,vladdu/otp,Teino1978-Corp/erlang-otp,dgud/otp,entropiae/otp,falkevik/otp,tuncer/otp,NOMORECOFFEE/otp,bernardd/otp,jj1bdx/otp,g-andrade/otp,vic/otp,dumbbell/otp,yangchengjian/otp,marquisthunder/otp,RGafiyatullin/otp,paladim/otp,gjaldon/otp,GinjaNinja32/otp,NOMORECOFFEE/otp,benoitc/otp-1,bjorng/otp,lantti/otp,jamesruan/otp,fenollp/otp,lantti/otp,psyeugenic/otp,sitexa/otp,mujiatong/otp,cnbin/otp,goertzenator/otp,lucafavatella/otp,emile/otp,psyeugenic/otp,Teino1978-Corp/erlang-otp,g-andrade/otp,tuncer/otp,erlang/otp,marquisthunder/otp,paulcager/otp,release-project/otp,awetzel/otp,johanclaesson/otp,lrascao/otp,haguenau/otp,stolen/otp,NOMORECOFFEE/otp,theom/otp,johanclaesson/otp,krishnakumar4a4/otp,VincentHHL/otp,schlagert/otp,RoadRunnr/otp,johanclaesson/otp,massemanet/otp,RoadRunnr/otp,uabboli/otp,electricimp/otp,Teino1978-Corp/otp,marquisthunder/otp,Teino1978-Corp/otp,electricimp/otp,klarna/otp,theom/otp,ahmedshafeeq/otp,falkevik/otp,sdebnath/otp,uabboli/otp,kvakvs/otp,lucafavatella/otp,cobusc/otp,falkevik/otp,vinoski/otp,NOMORECOFFEE/otp,haguenau/otp,jinshana/otp,theom/otp,emile/otp,klarna/otp,entropiae/otp,stolen/otp,lightcyphers/otp,getong/otp,vladdu/otp,hairyhum/otp,isvilen/otp,neeraj9/otp,GinjaNinja32/otp,dgud/otp,hairyhum/otp,cobusc/otp,awetzel/otp,goertzenator/otp,klarna/otp,lightcyphers/otp,emile/otp,mikpe/otp,enikki/otp,jemsbhai/otp,mikpe/otp,getong/otp,c-rack/otp,goertzenator/otp,yangchengjian/otp,jemsbhai/otp,fenollp/otp,bsmr-erlang/otp,vinoski/otp,riverrun/otp,dgud/otp,saleyn/otp,c-rack/otp,saleyn/otp,c-rack/otp,cnbin/otp,gjaldon/otp,lrascao/otp,jj1bdx/otp,enikki/otp,palas/otp,bsmr-erlang/otp,g-andrade/otp,yangchengjian/otp,mujiatong/otp,basho/otp,massemanet/otp,lianghaivv/otp,beni55/otp,sitexa/otp,neeraj9/otp,sdebnath/otp,mujiatong/otp,theom/otp,NOMORECOFFEE/otp,paladim/otp,lemenkov/otp,RGafiyatullin/otp,gjaldon/otp,emile/otp,paladim/otp,schlagert/otp,ferd/otp,legoscia/otp,benoitc/otp-1,aboroska/otp,potatosalad/otp,matwey/otp,bjorng/otp,sdebnath/otp,msantos/otp,cnbin/otp,bugs-erlang-org/otp,falkevik/otp,RGafiyatullin/otp,bernardd/otp,vinoski/otp,fenollp/otp,hairyhum/otp,erlang/otp,electricimp/otp,johanclaesson/otp,bugs-erlang-org/otp,VincentHHL/otp,awetzel/otp,vinoski/otp,mikpe/otp,VincentHHL/otp,dumbbell/otp,falkevik/otp,lemenkov/otp,erlang/otp,vic/otp,msantos/otp,marquisthunder/otp,RichMorin/otp,release-project/otp,tuncer/otp,bsmr-erlang/otp,kvakvs/otp,falkevik/otp,bsmr-erlang/otp,bugs-erlang-org/otp,cnbin/otp,potatosalad/otp,beni55/otp,bernardd/otp,haguenau/otp,VincentHHL/otp,emile/otp,saleyn/otp,matwey/otp,awetzel/otp,cobusc/otp,basho/otp,aboroska/otp,kvakvs/otp,beni55/otp,bernardd/otp,vic/otp,platinumthinker/otp,jj1bdx/otp,Teino1978-Corp/erlang-otp,krishnakumar4a4/otp,rlipscombe/otp,derek121/otp,lhslll/otp,c-rack/otp,getong/otp,matwey/otp,platinumthinker/otp,massemanet/otp,lrascao/otp,palas/otp,theom/otp,vladdu/otp,RJ/otp,jemsbhai/otp,beni55/otp,bsmr-erlang/otp,msantos/otp,jj1bdx/otp,release-project/otp,lucafavatella/otp,isvilen/otp,mikpe/otp,ahmedshafeeq/otp,cnbin/otp,Teino1978-Corp/otp,jamesruan/otp,haguenau/otp,ferd/otp,jemsbhai/otp,lantti/otp,vladdu/otp,tuncer/otp,haguenau/otp,ahmedshafeeq/otp,klarna/otp,lianghaivv/otp,emacsmirror/erlang,jj1bdx/otp,dumbbell/otp,weisslj/otp,ferd/otp,lianghaivv/otp,mujiatong/otp,mujiatong/otp,yangchengjian/otp,msantos/otp,ader1990/otp,Teino1978-Corp/otp,fenollp/otp,sammoth-wazoku/otp,weisslj/otp,jemsbhai/otp,RJ/otp,emacsmirror/erlang,neeraj9/otp,RichMorin/otp,matwey/otp,theom/otp,palas/otp,sitexa/otp,sammoth-wazoku/otp,ferd/otp,lucafavatella/otp