net: stop both net/net_processing before destroying them
net: stop both net/net_processing before destroying them

This should avoid either attempting to use an invalid reference/pointer to the
other.

particl/particl-core,bitcoinsSG/bitcoin,Bushstar/UFO-Project,sstone/bitcoin,sipsorcery/bitcoin,domob1812/bitcoin,ElementsProject/elements,sipsorcery/bitcoin,joshrabinowitz/bitcoin,wellenreiter01/Feathercoin,Christewart/bitcoin,jambolo/bitcoin,particl/particl-core,droark/bitcoin,jmcorgan/bitcoin,stamhe/bitcoin,bitcoinsSG/bitcoin,GroestlCoin/bitcoin,21E14/bitcoin,fujicoin/fujicoin,practicalswift/bitcoin,donaloconnor/bitcoin,kallewoof/bitcoin,kazcw/bitcoin,maaku/bitcoin,bitcoinknots/bitcoin,jtimon/bitcoin,Xekyo/bitcoin,JeremyRubin/bitcoin,myriadcoin/myriadcoin,jmcorgan/bitcoin,GroestlCoin/GroestlCoin,FeatherCoin/Feathercoin,namecoin/namecoin-core,GroestlCoin/bitcoin,vertcoin/vertcoin,myriadteam/myriadcoin,Gazer022/bitcoin,Kogser/bitcoin,ryanofsky/bitcoin,particl/particl-core,stamhe/bitcoin,myriadcoin/myriadcoin,digibyte/digibyte,namecoin/namecore,kallewoof/bitcoin,MarcoFalke/bitcoin,sebrandon1/bitcoin,trippysalmon/bitcoin,qtumproject/qtum,gmaxwell/bitcoin,h4x3rotab/BTCGPU,MazaCoin/maza,Flowdalic/bitcoin,starwels/starwels,rnicoll/bitcoin,RHavar/bitcoin,domob1812/namecore,Gazer022/bitcoin,h4x3rotab/BTCGPU,nikkitan/bitcoin,BTCGPU/BTCGPU,Kogser/bitcoin,namecoin/namecore,MazaCoin/maza,paveljanik/bitcoin,r8921039/bitcoin,jtimon/bitcoin,ajtowns/bitcoin,instagibbs/bitcoin,ElementsProject/elements,mm-s/bitcoin,namecoin/namecoin-core,thrasher-/litecoin,jmcorgan/bitcoin,sipsorcery/bitcoin,gjhiggins/vcoincore,trippysalmon/bitcoin,ryanofsky/bitcoin,digibyte/digibyte,pstratem/bitcoin,apoelstra/bitcoin,myriadteam/myriadcoin,pataquets/namecoin-core,bitcoinknots/bitcoin,JeremyRubin/bitcoin,jamesob/bitcoin,fanquake/bitcoin,yenliangl/bitcoin,mitchellcash/bitcoin,mitchellcash/bitcoin,wellenreiter01/Feathercoin,cryptoprojects/ultimateonlinecash,vertcoin/vertcoin,particl/particl-core,gjhiggins/vcoincore,laudaa/bitcoin,ppcoin/ppcoin,joshrabinowitz/bitcoin,alecalve/bitcoin,afk11/bitcoin,prusnak/bitcoin,paveljanik/bitcoin,randy-waterhouse/bitcoin,lbryio/lbrycrd,litecoin-project/litecoin,nbenoit/bitcoin,randy-waterhouse/bitcoin,sarielsaz/sarielsaz,Rav3nPL/bitcoin,mb300sd/bitcoin,Christewart/bitcoin,afk11/bitcoin,jonasschnelli/bitcoin,achow101/bitcoin,OmniLayer/omnicore,sarielsaz/sarielsaz,rnicoll/bitcoin,GlobalBoost/GlobalBoost,achow101/bitcoin,sebrandon1/bitcoin,nikkitan/bitcoin,yenliangl/bitcoin,midnightmagic/bitcoin,deeponion/deeponion,CryptArc/bitcoin,jamesob/bitcoin,anditto/bitcoin,AkioNak/bitcoin,deeponion/deeponion,ahmedbodi/vertcoin,21E14/bitcoin,MazaCoin/maza,laudaa/bitcoin,myriadcoin/myriadcoin,FeatherCoin/Feathercoin,andreaskern/bitcoin,randy-waterhouse/bitcoin,ericshawlinux/bitcoin,ElementsProject/elements,BTCGPU/BTCGPU,andreaskern/bitcoin,yenliangl/bitcoin,pataquets/namecoin-core,jtimon/bitcoin,kazcw/bitcoin,vertcoin/vertcoin,lbryio/lbrycrd,fanquake/bitcoin,Flowdalic/bitcoin,Christewart/bitcoin,mruddy/bitcoin,EthanHeilman/bitcoin,jlopp/statoshi,dscotese/bitcoin,domob1812/huntercore,GroestlCoin/GroestlCoin,ericshawlinux/bitcoin,namecoin/namecoin-core,MeshCollider/bitcoin,bitcoin/bitcoin,anditto/bitcoin,n1bor/bitcoin,n1bor/bitcoin,ajtowns/bitcoin,rawodb/bitcoin,kallewoof/bitcoin,RHavar/bitcoin,DigitalPandacoin/pandacoin,untrustbank/litecoin,AkioNak/bitcoin,jnewbery/bitcoin,lbryio/lbrycrd,viacoin/viacoin,mitchellcash/bitcoin,ajtowns/bitcoin,globaltoken/globaltoken,bitcoin/bitcoin,fanquake/bitcoin,FeatherCoin/Feathercoin,guncoin/guncoin,myriadcoin/myriadcoin,afk11/bitcoin,ryanofsky/bitcoin,DigitalPandacoin/pandacoin,monacoinproject/monacoin,kallewoof/bitcoin,Kogser/bitcoin,EthanHeilman/bitcoin,pstratem/bitcoin,paveljanik/bitcoin,cdecker/bitcoin,ericshawlinux/bitcoin,andreaskern/bitcoin,viacoin/viacoin,Kogser/bitcoin,lateminer/bitcoin,rnicoll/bitcoin,fanquake/bitcoin,rnicoll/bitcoin,guncoin/guncoin,particl/particl-core,EthanHeilman/bitcoin,CryptArc/bitcoin,jonasschnelli/bitcoin,jnewbery/bitcoin,sstone/bitcoin,ppcoin/ppcoin,h4x3rotab/BTCGPU,jamesob/bitcoin,qtumproject/qtum,Xekyo/bitcoin,instagibbs/bitcoin,anditto/bitcoin,dscotese/bitcoin,namecoin/namecore,ahmedbodi/vertcoin,bespike/litecoin,MeshCollider/bitcoin,maaku/bitcoin,jamesob/bitcoin,MeshCollider/bitcoin,cryptoprojects/ultimateonlinecash,alecalve/bitcoin,mruddy/bitcoin,lateminer/bitcoin,MarcoFalke/bitcoin,paveljanik/bitcoin,domob1812/bitcoin,TheBlueMatt/bitcoin,jambolo/bitcoin,bespike/litecoin,nbenoit/bitcoin,untrustbank/litecoin,pataquets/namecoin-core,OmniLayer/omnicore,ppcoin/ppcoin,Flowdalic/bitcoin,qtumproject/qtum,qtumproject/qtum,jlopp/statoshi,nbenoit/bitcoin,JeremyRubin/bitcoin,mb300sd/bitcoin,peercoin/peercoin,kallewoof/bitcoin,brandonrobertz/namecoin-core,rawodb/bitcoin,digibyte/digibyte,globaltoken/globaltoken,guncoin/guncoin,Flowdalic/bitcoin,monacoinproject/monacoin,yenliangl/bitcoin,namecoin/namecore,starwels/starwels,Xekyo/bitcoin,n1bor/bitcoin,sstone/bitcoin,bespike/litecoin,vmp32k/litecoin,r8921039/bitcoin,GroestlCoin/bitcoin,digibyte/digibyte,h4x3rotab/BTCGPU,starwels/starwels,wellenreiter01/Feathercoin,kazcw/bitcoin,dscotese/bitcoin,tjps/bitcoin,rawodb/bitcoin,AkioNak/bitcoin,pstratem/bitcoin,gmaxwell/bitcoin,prusnak/bitcoin,stamhe/bitcoin,donaloconnor/bitcoin,jambolo/bitcoin,GroestlCoin/bitcoin,brandonrobertz/namecoin-core,gmaxwell/bitcoin,jmcorgan/bitcoin,mruddy/bitcoin,RHavar/bitcoin,tecnovert/particl-core,instagibbs/bitcoin,deeponion/deeponion,jonasschnelli/bitcoin,monacoinproject/monacoin,viacoin/viacoin,afk11/bitcoin,jambolo/bitcoin,GlobalBoost/GlobalBoost,GlobalBoost/GlobalBoost,domob1812/huntercore,domob1812/bitcoin,domob1812/namecore,brandonrobertz/namecoin-core,ElementsProject/elements,bespike/litecoin,rnicoll/dogecoin,cdecker/bitcoin,MarcoFalke/bitcoin,apoelstra/bitcoin,myriadteam/myriadcoin,domob1812/bitcoin,vertcoin/vertcoin,bitcoinknots/bitcoin,donaloconnor/bitcoin,bitcoinknots/bitcoin,gmaxwell/bitcoin,namecoin/namecoin-core,sarielsaz/sarielsaz,wellenreiter01/Feathercoin,MazaCoin/maza,guncoin/guncoin,mb300sd/bitcoin,Flowdalic/bitcoin,trippysalmon/bitcoin,bitcoinsSG/bitcoin,ahmedbodi/vertcoin,particl/particl-core,myriadteam/myriadcoin,jonasschnelli/bitcoin,litecoin-project/litecoin,instagibbs/bitcoin,h4x3rotab/BTCGPU,JeremyRubin/bitcoin,practicalswift/bitcoin,cryptoprojects/ultimateonlinecash,tecnovert/particl-core,GroestlCoin/GroestlCoin,TheBlueMatt/bitcoin,mruddy/bitcoin,mruddy/bitcoin,maaku/bitcoin,lateminer/bitcoin,OmniLayer/omnicore,kazcw/bitcoin,ahmedbodi/vertcoin,bitcoinsSG/bitcoin,BTCGPU/BTCGPU,CryptArc/bitcoin,droark/bitcoin,tecnovert/particl-core,stamhe/bitcoin,andreaskern/bitcoin,RHavar/bitcoin,midnightmagic/bitcoin,jamesob/bitcoin,guncoin/guncoin,mm-s/bitcoin,litecoin-project/litecoin,bitcoin/bitcoin,litecoin-project/litecoin,anditto/bitcoin,sarielsaz/sarielsaz,thrasher-/litecoin,n1bor/bitcoin,domob1812/namecore,sarielsaz/sarielsaz,OmniLayer/omnicore,wellenreiter01/Feathercoin,nikkitan/bitcoin,bitcoin/bitcoin,AkioNak/bitcoin,Sjors/bitcoin,jnewbery/bitcoin,Flowdalic/bitcoin,apoelstra/bitcoin,viacoin/viacoin,21E14/bitcoin,anditto/bitcoin,Kogser/bitcoin,Sjors/bitcoin,Bushstar/UFO-Project,domob1812/bitcoin,Christewart/bitcoin,tjps/bitcoin,TheBlueMatt/bitcoin,starwels/starwels,vertcoin/vertcoin,prusnak/bitcoin,OmniLayer/omnicore,cdecker/bitcoin,Kogser/bitcoin,CryptArc/bitcoin,vmp32k/litecoin,jtimon/bitcoin,BTCGPU/BTCGPU,21E14/bitcoin,andreaskern/bitcoin,GroestlCoin/bitcoin,jtimon/bitcoin,practicalswift/bitcoin,GlobalBoost/GlobalBoost,dscotese/bitcoin,FeatherCoin/Feathercoin,guncoin/guncoin,droark/bitcoin,afk11/bitcoin,mb300sd/bitcoin,thrasher-/litecoin,sstone/bitcoin,Rav3nPL/bitcoin,mitchellcash/bitcoin,1185/starwels,MeshCollider/bitcoin,yenliangl/bitcoin,pataquets/namecoin-core,DigitalPandacoin/pandacoin,jmcorgan/bitcoin,jonasschnelli/bitcoin,EthanHeilman/bitcoin,achow101/bitcoin,starwels/starwels,stamhe/bitcoin,apoelstra/bitcoin,sebrandon1/bitcoin,droark/bitcoin,1185/starwels,ElementsProject/elements,DigitalPandacoin/pandacoin,gjhiggins/vcoincore,cryptoprojects/ultimateonlinecash,rawodb/bitcoin,mruddy/bitcoin,tjps/bitcoin,Gazer022/bitcoin,globaltoken/globaltoken,Xekyo/bitcoin,midnightmagic/bitcoin,CryptArc/bitcoin,midnightmagic/bitcoin,jnewbery/bitcoin,JeremyRubin/bitcoin,r8921039/bitcoin,GroestlCoin/GroestlCoin,fujicoin/fujicoin,brandonrobertz/namecoin-core,Sjors/bitcoin,vertcoin/vertcoin,GlobalBoost/GlobalBoost,MazaCoin/maza,ajtowns/bitcoin,sebrandon1/bitcoin,fujicoin/fujicoin,deeponion/deeponion,n1bor/bitcoin,TheBlueMatt/bitcoin,achow101/bitcoin,ahmedbodi/vertcoin,domob1812/namecore,untrustbank/litecoin,domob1812/huntercore,pstratem/bitcoin,1185/starwels,bitcoin/bitcoin,RHavar/bitcoin,droark/bitcoin,monacoinproject/monacoin,maaku/bitcoin,Kogser/bitcoin,mm-s/bitcoin,jmcorgan/bitcoin,deeponion/deeponion,vmp32k/litecoin,cryptoprojects/ultimateonlinecash,domob1812/bitcoin,rnicoll/bitcoin,RHavar/bitcoin,bespike/litecoin,rnicoll/dogecoin,thrasher-/litecoin,mm-s/bitcoin,domob1812/huntercore,1185/starwels,gjhiggins/vcoincore,myriadteam/myriadcoin,rnicoll/bitcoin,nbenoit/bitcoin,fanquake/bitcoin,joshrabinowitz/bitcoin,sstone/bitcoin,sipsorcery/bitcoin,Bushstar/UFO-Project,1185/starwels,globaltoken/globaltoken,litecoin-project/litecoin,instagibbs/bitcoin,MarcoFalke/bitcoin,randy-waterhouse/bitcoin,Kogser/bitcoin,mitchellcash/bitcoin,pataquets/namecoin-core,prusnak/bitcoin,sarielsaz/sarielsaz,rawodb/bitcoin,EthanHeilman/bitcoin,andreaskern/bitcoin,GlobalBoost/GlobalBoost,FeatherCoin/Feathercoin,mm-s/bitcoin,ryanofsky/bitcoin,bitcoinsSG/bitcoin,lateminer/bitcoin,lbryio/lbrycrd,r8921039/bitcoin,MarcoFalke/bitcoin,Christewart/bitcoin,fanquake/bitcoin,starwels/starwels,GroestlCoin/bitcoin,ppcoin/ppcoin,tecnovert/particl-core,sebrandon1/bitcoin,peercoin/peercoin,myriadcoin/myriadcoin,CryptArc/bitcoin,rnicoll/dogecoin,alecalve/bitcoin,ahmedbodi/vertcoin,tjps/bitcoin,gjhiggins/vcoincore,untrustbank/litecoin,peercoin/peercoin,nikkitan/bitcoin,practicalswift/bitcoin,pataquets/namecoin-core,practicalswift/bitcoin,qtumproject/qtum,trippysalmon/bitcoin,sstone/bitcoin,qtumproject/qtum,bitcoinsSG/bitcoin,namecoin/namecore,maaku/bitcoin,donaloconnor/bitcoin,viacoin/viacoin,namecoin/namecoin-core,monacoinproject/monacoin,achow101/bitcoin,nikkitan/bitcoin,thrasher-/litecoin,jnewbery/bitcoin,nbenoit/bitcoin,ericshawlinux/bitcoin,peercoin/peercoin,namecoin/namecore,ryanofsky/bitcoin,tecnovert/particl-core,Xekyo/bitcoin,fujicoin/fujicoin,Gazer022/bitcoin,Sjors/bitcoin,21E14/bitcoin,kazcw/bitcoin,apoelstra/bitcoin,jlopp/statoshi,rawodb/bitcoin,cdecker/bitcoin,midnightmagic/bitcoin,viacoin/viacoin,deeponion/deeponion,brandonrobertz/namecoin-core,brandonrobertz/namecoin-core,jambolo/bitcoin,dscotese/bitcoin,Kogser/bitcoin,achow101/bitcoin,h4x3rotab/BTCGPU,n1bor/bitcoin,AkioNak/bitcoin,DigitalPandacoin/pandacoin,lateminer/bitcoin,bitcoinknots/bitcoin,trippysalmon/bitcoin,TheBlueMatt/bitcoin,alecalve/bitcoin,gmaxwell/bitcoin,1185/starwels,cdecker/bitcoin,myriadteam/myriadcoin,21E14/bitcoin,Bushstar/UFO-Project,joshrabinowitz/bitcoin,gjhiggins/vcoincore,r8921039/bitcoin,peercoin/peercoin,vmp32k/litecoin,laudaa/bitcoin,joshrabinowitz/bitcoin,afk11/bitcoin,paveljanik/bitcoin,maaku/bitcoin,BTCGPU/BTCGPU,GlobalBoost/GlobalBoost,Rav3nPL/bitcoin,JeremyRubin/bitcoin,rnicoll/dogecoin,monacoinproject/monacoin,Christewart/bitcoin,randy-waterhouse/bitcoin,sipsorcery/bitcoin,fujicoin/fujicoin,AkioNak/bitcoin,cryptoprojects/ultimateonlinecash,lbryio/lbrycrd,ElementsProject/elements,droark/bitcoin,joshrabinowitz/bitcoin,peercoin/peercoin,globaltoken/globaltoken,untrustbank/litecoin,nikkitan/bitcoin,tjps/bitcoin,kallewoof/bitcoin,midnightmagic/bitcoin,MazaCoin/maza,Bushstar/UFO-Project,apoelstra/bitcoin,ajtowns/bitcoin,prusnak/bitcoin,GroestlCoin/GroestlCoin,sebrandon1/bitcoin,practicalswift/bitcoin,vmp32k/litecoin,DigitalPandacoin/pandacoin,gmaxwell/bitcoin,lbryio/lbrycrd,ryanofsky/bitcoin,mb300sd/bitcoin,Kogser/bitcoin,TheBlueMatt/bitcoin,domob1812/huntercore,FeatherCoin/Feathercoin,Gazer022/bitcoin,MarcoFalke/bitcoin,randy-waterhouse/bitcoin,GroestlCoin/GroestlCoin,jlopp/statoshi,Kogser/bitcoin,pstratem/bitcoin,laudaa/bitcoin,BTCGPU/BTCGPU,dscotese/bitcoin,untrustbank/litecoin,MeshCollider/bitcoin,Rav3nPL/bitcoin,yenliangl/bitcoin,paveljanik/bitcoin,OmniLayer/omnicore,ericshawlinux/bitcoin,prusnak/bitcoin,stamhe/bitcoin,Xekyo/bitcoin,fujicoin/fujicoin,laudaa/bitcoin,instagibbs/bitcoin,mm-s/bitcoin,jlopp/statoshi,rnicoll/dogecoin,jtimon/bitcoin,bitcoin/bitcoin,Bushstar/UFO-Project,Sjors/bitcoin,Rav3nPL/bitcoin,tjps/bitcoin,nbenoit/bitcoin,Rav3nPL/bitcoin,anditto/bitcoin,bespike/litecoin,Gazer022/bitcoin,lateminer/bitcoin,cdecker/bitcoin,pstratem/bitcoin,Kogser/bitcoin,lbryio/lbrycrd,globaltoken/globaltoken,digibyte/digibyte,namecoin/namecoin-core,sipsorcery/bitcoin,laudaa/bitcoin,digibyte/digibyte,domob1812/namecore,donaloconnor/bitcoin,trippysalmon/bitcoin,tecnovert/particl-core,jambolo/bitcoin,litecoin-project/litecoin,qtumproject/qtum,alecalve/bitcoin,jamesob/bitcoin,vmp32k/litecoin,EthanHeilman/bitcoin,mb300sd/bitcoin,thrasher-/litecoin,alecalve/bitcoin,domob1812/namecore,domob1812/huntercore,r8921039/bitcoin,donaloconnor/bitcoin,wellenreiter01/Feathercoin,myriadcoin/myriadcoin,mitchellcash/bitcoin,ericshawlinux/bitcoin,ajtowns/bitcoin,jlopp/statoshi,kazcw/bitcoin,MeshCollider/bitcoin