Bugfix: callback mode not cached after code change
Bugfix: callback mode not cached after code change

Fix lots of internal state updates just before termination that could
cause crash reports confused about timers.

vinoski/otp,legoscia/otp,dgud/otp,bsmr-erlang/otp,potatosalad/otp,electricimp/otp,bsmr-erlang/otp,aboroska/otp,getong/otp,rlipscombe/otp,rlipscombe/otp,bjorng/otp,uabboli/otp,getong/otp,vladdu/otp,g-andrade/otp,cobusc/otp,tuncer/otp,release-project/otp,RoadRunnr/otp,dgud/otp,kvakvs/otp,uabboli/otp,weisslj/otp,bjorng/otp,fenollp/otp,electricimp/otp,kvakvs/otp,bsmr-erlang/otp,RoadRunnr/otp,emacsmirror/erlang,ferd/otp,vinoski/otp,vinoski/otp,vladdu/otp,fenollp/otp,getong/otp,falkevik/otp,legoscia/otp,bernardd/otp,dumbbell/otp,bernardd/otp,legoscia/otp,dgud/otp,falkevik/otp,kvakvs/otp,uabboli/otp,vinoski/otp,fenollp/otp,aboroska/otp,dgud/otp,RaimoNiskanen/otp,dumbbell/otp,saleyn/otp,rlipscombe/otp,erlang/otp,fenollp/otp,bsmr-erlang/otp,massemanet/otp,bsmr-erlang/otp,aboroska/otp,isvilen/otp,tuncer/otp,weisslj/otp,potatosalad/otp,g-andrade/otp,matwey/otp,bsmr-erlang/otp,saleyn/otp,RoadRunnr/otp,aboroska/otp,falkevik/otp,fenollp/otp,kvakvs/otp,rlipscombe/otp,aboroska/otp,jj1bdx/otp,g-andrade/otp,fenollp/otp,lrascao/otp,dgud/otp,ferd/otp,RaimoNiskanen/otp,RaimoNiskanen/otp,emacsmirror/erlang,rlipscombe/otp,isvilen/otp,release-project/otp,getong/otp,ferd/otp,matwey/otp,goertzenator/otp,matwey/otp,massemanet/otp,kvakvs/otp,jj1bdx/otp,electricimp/otp,erlang/otp,weisslj/otp,uabboli/otp,RoadRunnr/otp,legoscia/otp,RoadRunnr/otp,ferd/otp,matwey/otp,falkevik/otp,potatosalad/otp,jj1bdx/otp,vinoski/otp,aboroska/otp,kvakvs/otp,goertzenator/otp,mikpe/otp,aboroska/otp,emacsmirror/erlang,isvilen/otp,fenollp/otp,bernardd/otp,g-andrade/otp,vladdu/otp,cobusc/otp,mikpe/otp,RoadRunnr/otp,potatosalad/otp,ferd/otp,emacsmirror/erlang,RaimoNiskanen/otp,goertzenator/otp,vladdu/otp,erlang/otp,aboroska/otp,isvilen/otp,matwey/otp,kvakvs/otp,getong/otp,cobusc/otp,RaimoNiskanen/otp,g-andrade/otp,massemanet/otp,jj1bdx/otp,tuncer/otp,bsmr-erlang/otp,massemanet/otp,vinoski/otp,mikpe/otp,lrascao/otp,g-andrade/otp,dgud/otp,uabboli/otp,mikpe/otp,emacsmirror/erlang,rlipscombe/otp,ferd/otp,erlang/otp,weisslj/otp,lrascao/otp,getong/otp,saleyn/otp,fenollp/otp,falkevik/otp,isvilen/otp,goertzenator/otp,tuncer/otp,bsmr-erlang/otp,rlipscombe/otp,rlipscombe/otp,bjorng/otp,saleyn/otp,getong/otp,RoadRunnr/otp,tuncer/otp,saleyn/otp,RaimoNiskanen/otp,bernardd/otp,mikpe/otp,release-project/otp,massemanet/otp,dgud/otp,getong/otp,ferd/otp,bernardd/otp,bernardd/otp,bjorng/otp,release-project/otp,erlang/otp,dumbbell/otp,falkevik/otp,mikpe/otp,saleyn/otp,bernardd/otp,matwey/otp,potatosalad/otp,lrascao/otp,cobusc/otp,getong/otp,electricimp/otp,emacsmirror/erlang,release-project/otp,emacsmirror/erlang,bjorng/otp,ferd/otp,uabboli/otp,rlipscombe/otp,erlang/otp,vinoski/otp,goertzenator/otp,lrascao/otp,goertzenator/otp,electricimp/otp,goertzenator/otp,ferd/otp,goertzenator/otp,fenollp/otp,cobusc/otp,legoscia/otp,release-project/otp,release-project/otp,falkevik/otp,potatosalad/otp,legoscia/otp,massemanet/otp,potatosalad/otp,tuncer/otp,massemanet/otp,RoadRunnr/otp,g-andrade/otp,isvilen/otp,RaimoNiskanen/otp,jj1bdx/otp,matwey/otp,massemanet/otp,emacsmirror/erlang,release-project/otp,g-andrade/otp,kvakvs/otp,matwey/otp,bernardd/otp,falkevik/otp,kvakvs/otp,rlipscombe/otp,weisslj/otp,tuncer/otp,vladdu/otp,cobusc/otp,emacsmirror/erlang,RoadRunnr/otp,dumbbell/otp,dumbbell/otp,lrascao/otp,isvilen/otp,cobusc/otp,release-project/otp,emacsmirror/erlang,erlang/otp,weisslj/otp,dgud/otp,mikpe/otp,erlang/otp,bjorng/otp,g-andrade/otp,erlang/otp,vladdu/otp,vladdu/otp,uabboli/otp,bjorng/otp,lrascao/otp,isvilen/otp,massemanet/otp,potatosalad/otp,electricimp/otp,falkevik/otp,matwey/otp,electricimp/otp,potatosalad/otp,bjorng/otp,weisslj/otp,weisslj/otp,weisslj/otp,RaimoNiskanen/otp,vinoski/otp,dgud/otp,aboroska/otp,isvilen/otp,vladdu/otp,bsmr-erlang/otp,saleyn/otp,tuncer/otp,jj1bdx/otp,isvilen/otp,jj1bdx/otp,jj1bdx/otp,dumbbell/otp,electricimp/otp,jj1bdx/otp,mikpe/otp,dgud/otp,lrascao/otp,erlang/otp,dumbbell/otp,mikpe/otp,goertzenator/otp,mikpe/otp,jj1bdx/otp,legoscia/otp,bjorng/otp,cobusc/otp,lrascao/otp,getong/otp,RaimoNiskanen/otp,legoscia/otp,saleyn/otp,vinoski/otp,uabboli/otp,vladdu/otp,saleyn/otp,bjorng/otp,legoscia/otp,g-andrade/otp,dumbbell/otp,vinoski/otp,potatosalad/otp,bernardd/otp,tuncer/otp,dumbbell/otp,dumbbell/otp,uabboli/otp,electricimp/otp