stmhal: Properly deinit timer object.
stmhal: Properly deinit timer object.

Addresses issue #1113.

pozetroninc/micropython,aethaniel/micropython,cloudformdesign/micropython,martinribelotta/micropython,vitiral/micropython,lbattraw/micropython,toolmacher/micropython,pfalcon/micropython,micropython/micropython-esp32,TDAbboud/micropython,ericsnowcurrently/micropython,ganshun666/micropython,emfcamp/micropython,dinau/micropython,utopiaprince/micropython,xuxiaoxin/micropython,tuc-osg/micropython,dxxb/micropython,adafruit/circuitpython,utopiaprince/micropython,suda/micropython,ahotam/micropython,KISSMonX/micropython,mpalomer/micropython,pozetroninc/micropython,emfcamp/micropython,dhylands/micropython,lbattraw/micropython,galenhz/micropython,blmorris/micropython,ryannathans/micropython,stonegithubs/micropython,xhat/micropython,stonegithubs/micropython,rubencabrera/micropython,dmazzella/micropython,orionrobots/micropython,tobbad/micropython,ganshun666/micropython,ryannathans/micropython,praemdonck/micropython,ceramos/micropython,mhoffma/micropython,mgyenik/micropython,vitiral/micropython,firstval/micropython,firstval/micropython,martinribelotta/micropython,kerneltask/micropython,supergis/micropython,MrSurly/micropython-esp32,cnoviello/micropython,kerneltask/micropython,dxxb/micropython,suda/micropython,blmorris/micropython,deshipu/micropython,KISSMonX/micropython,skybird6672/micropython,TDAbboud/micropython,utopiaprince/micropython,tuc-osg/micropython,puuu/micropython,xyb/micropython,trezor/micropython,torwag/micropython,trezor/micropython,adafruit/circuitpython,KISSMonX/micropython,Peetz0r/micropython-esp32,ernesto-g/micropython,xuxiaoxin/micropython,praemdonck/micropython,SungEun-Steve-Kim/test-mp,Peetz0r/micropython-esp32,kerneltask/micropython,matthewelse/micropython,hiway/micropython,trezor/micropython,vriera/micropython,vitiral/micropython,feilongfl/micropython,swegener/micropython,redbear/micropython,martinribelotta/micropython,kostyll/micropython,pfalcon/micropython,Peetz0r/micropython-esp32,galenhz/micropython,infinnovation/micropython,skybird6672/micropython,jimkmc/micropython,tdautc19841202/micropython,skybird6672/micropython,cloudformdesign/micropython,xyb/micropython,paul-xxx/micropython,pfalcon/micropython,ericsnowcurrently/micropython,ryannathans/micropython,ericsnowcurrently/micropython,torwag/micropython,adafruit/circuitpython,cnoviello/micropython,xuxiaoxin/micropython,micropython/micropython-esp32,dmazzella/micropython,bvernoux/micropython,slzatz/micropython,dhylands/micropython,Timmenem/micropython,ceramos/micropython,danicampora/micropython,MrSurly/micropython-esp32,adafruit/micropython,skybird6672/micropython,alex-robbins/micropython,hosaka/micropython,slzatz/micropython,tobbad/micropython,orionrobots/micropython,ahotam/micropython,turbinenreiter/micropython,hiway/micropython,oopy/micropython,warner83/micropython,pramasoul/micropython,SungEun-Steve-Kim/test-mp,omtinez/micropython,blazewicz/micropython,warner83/micropython,kostyll/micropython,danicampora/micropython,jlillest/micropython,adamkh/micropython,MrSurly/micropython,cwyark/micropython,danicampora/micropython,lbattraw/micropython,torwag/micropython,blazewicz/micropython,warner83/micropython,jmarcelino/pycom-micropython,noahchense/micropython,xhat/micropython,heisewangluo/micropython,adafruit/micropython,HenrikSolver/micropython,xuxiaoxin/micropython,misterdanb/micropython,PappaPeppar/micropython,ruffy91/micropython,adamkh/micropython,infinnovation/micropython,noahwilliamsson/micropython,cwyark/micropython,dhylands/micropython,tralamazza/micropython,cwyark/micropython,ahotam/micropython,adafruit/micropython,lowRISC/micropython,chrisdearman/micropython,toolmacher/micropython,rubencabrera/micropython,stonegithubs/micropython,swegener/micropython,selste/micropython,SungEun-Steve-Kim/test-mp,matthewelse/micropython,AriZuu/micropython,cnoviello/micropython,martinribelotta/micropython,mhoffma/micropython,supergis/micropython,PappaPeppar/micropython,chrisdearman/micropython,ernesto-g/micropython,KISSMonX/micropython,xyb/micropython,turbinenreiter/micropython,tobbad/micropython,Peetz0r/micropython-esp32,puuu/micropython,mpalomer/micropython,jimkmc/micropython,swegener/micropython,pramasoul/micropython,SHA2017-badge/micropython-esp32,tuc-osg/micropython,paul-xxx/micropython,ernesto-g/micropython,orionrobots/micropython,Peetz0r/micropython-esp32,turbinenreiter/micropython,slzatz/micropython,SungEun-Steve-Kim/test-mp,cnoviello/micropython,noahwilliamsson/micropython,lowRISC/micropython,ganshun666/micropython,lbattraw/micropython,MrSurly/micropython,bvernoux/micropython,SHA2017-badge/micropython-esp32,infinnovation/micropython,HenrikSolver/micropython,hiway/micropython,tobbad/micropython,drrk/micropython,aethaniel/micropython,praemdonck/micropython,ChuckM/micropython,drrk/micropython,dhylands/micropython,micropython/micropython-esp32,ganshun666/micropython,henriknelson/micropython,xhat/micropython,neilh10/micropython,jlillest/micropython,pozetroninc/micropython,matthewelse/micropython,ryannathans/micropython,firstval/micropython,heisewangluo/micropython,pozetroninc/micropython,drrk/micropython,dmazzella/micropython,adafruit/circuitpython,rubencabrera/micropython,ryannathans/micropython,misterdanb/micropython,AriZuu/micropython,dxxb/micropython,rubencabrera/micropython,neilh10/micropython,praemdonck/micropython,noahwilliamsson/micropython,SHA2017-badge/micropython-esp32,xyb/micropython,emfcamp/micropython,ernesto-g/micropython,firstval/micropython,tobbad/micropython,drrk/micropython,mianos/micropython,PappaPeppar/micropython,EcmaXp/micropython,adafruit/circuitpython,pfalcon/micropython,mianos/micropython,ChuckM/micropython,utopiaprince/micropython,MrSurly/micropython,mgyenik/micropython,HenrikSolver/micropython,adafruit/micropython,cwyark/micropython,micropython/micropython-esp32,toolmacher/micropython,adamkh/micropython,xhat/micropython,cnoviello/micropython,vriera/micropython,kerneltask/micropython,turbinenreiter/micropython,SungEun-Steve-Kim/test-mp,Timmenem/micropython,henriknelson/micropython,noahwilliamsson/micropython,omtinez/micropython,henriknelson/micropython,matthewelse/micropython,mhoffma/micropython,aethaniel/micropython,blazewicz/micropython,noahchense/micropython,mpalomer/micropython,tdautc19841202/micropython,hiway/micropython,micropython/micropython-esp32,warner83/micropython,hosaka/micropython,orionrobots/micropython,suda/micropython,blazewicz/micropython,turbinenreiter/micropython,tdautc19841202/micropython,galenhz/micropython,toolmacher/micropython,omtinez/micropython,heisewangluo/micropython,lowRISC/micropython,SHA2017-badge/micropython-esp32,mianos/micropython,SHA2017-badge/micropython-esp32,redbear/micropython,dinau/micropython,swegener/micropython,blmorris/micropython,heisewangluo/micropython,noahchense/micropython,aethaniel/micropython,ceramos/micropython,misterdanb/micropython,torwag/micropython,ceramos/micropython,HenrikSolver/micropython,galenhz/micropython,warner83/micropython,ChuckM/micropython,neilh10/micropython,hosaka/micropython,drrk/micropython,adamkh/micropython,ganshun666/micropython,tuc-osg/micropython,deshipu/micropython,danicampora/micropython,dinau/micropython,TDAbboud/micropython,oopy/micropython,selste/micropython,emfcamp/micropython,jmarcelino/pycom-micropython,danicampora/micropython,mianos/micropython,MrSurly/micropython-esp32,matthewelse/micropython,hosaka/micropython,dxxb/micropython,praemdonck/micropython,cloudformdesign/micropython,slzatz/micropython,AriZuu/micropython,AriZuu/micropython,supergis/micropython,dmazzella/micropython,dinau/micropython,jlillest/micropython,tralamazza/micropython,PappaPeppar/micropython,alex-robbins/micropython,hosaka/micropython,dhylands/micropython,MrSurly/micropython-esp32,kerneltask/micropython,henriknelson/micropython,toolmacher/micropython,alex-march/micropython,feilongfl/micropython,ahotam/micropython,supergis/micropython,cloudformdesign/micropython,ericsnowcurrently/micropython,hiway/micropython,skybird6672/micropython,rubencabrera/micropython,tralamazza/micropython,selste/micropython,oopy/micropython,chrisdearman/micropython,MrSurly/micropython,mianos/micropython,vitiral/micropython,paul-xxx/micropython,martinribelotta/micropython,orionrobots/micropython,deshipu/micropython,mhoffma/micropython,TDAbboud/micropython,mpalomer/micropython,feilongfl/micropython,lowRISC/micropython,TDAbboud/micropython,jimkmc/micropython,noahchense/micropython,ruffy91/micropython,blazewicz/micropython,tuc-osg/micropython,alex-robbins/micropython,neilh10/micropython,Timmenem/micropython,pfalcon/micropython,kostyll/micropython,misterdanb/micropython,feilongfl/micropython,trezor/micropython,alex-march/micropython,chrisdearman/micropython,oopy/micropython,oopy/micropython,vriera/micropython,alex-march/micropython,mpalomer/micropython,kostyll/micropython,alex-march/micropython,kostyll/micropython,cwyark/micropython,deshipu/micropython,puuu/micropython,redbear/micropython,bvernoux/micropython,mhoffma/micropython,feilongfl/micropython,xhat/micropython,EcmaXp/micropython,xuxiaoxin/micropython,puuu/micropython,infinnovation/micropython,blmorris/micropython,heisewangluo/micropython,pramasoul/micropython,supergis/micropython,jimkmc/micropython,slzatz/micropython,neilh10/micropython,jlillest/micropython,dinau/micropython,infinnovation/micropython,puuu/micropython,ericsnowcurrently/micropython,deshipu/micropython,Timmenem/micropython,bvernoux/micropython,utopiaprince/micropython,alex-robbins/micropython,tdautc19841202/micropython,stonegithubs/micropython,ruffy91/micropython,noahwilliamsson/micropython,trezor/micropython,lbattraw/micropython,redbear/micropython,ceramos/micropython,lowRISC/micropython,redbear/micropython,swegener/micropython,misterdanb/micropython,adafruit/circuitpython,ruffy91/micropython,vriera/micropython,adafruit/micropython,torwag/micropython,cloudformdesign/micropython,jlillest/micropython,ruffy91/micropython,EcmaXp/micropython,firstval/micropython,KISSMonX/micropython,ahotam/micropython,suda/micropython,mgyenik/micropython,bvernoux/micropython,chrisdearman/micropython,mgyenik/micropython,adamkh/micropython,aethaniel/micropython,omtinez/micropython,matthewelse/micropython,tralamazza/micropython,tdautc19841202/micropython,ernesto-g/micropython,jmarcelino/pycom-micropython,selste/micropython,PappaPeppar/micropython,vitiral/micropython,noahchense/micropython,MrSurly/micropython,henriknelson/micropython,emfcamp/micropython,pozetroninc/micropython,galenhz/micropython,blmorris/micropython,jmarcelino/pycom-micropython,alex-robbins/micropython,Timmenem/micropython,mgyenik/micropython,alex-march/micropython,HenrikSolver/micropython,EcmaXp/micropython,pramasoul/micropython,paul-xxx/micropython,AriZuu/micropython,dxxb/micropython,suda/micropython,stonegithubs/micropython,jimkmc/micropython,ChuckM/micropython,EcmaXp/micropython,paul-xxx/micropython,ChuckM/micropython,MrSurly/micropython-esp32,selste/micropython,omtinez/micropython,jmarcelino/pycom-micropython,pramasoul/micropython,xyb/micropython,vriera/micropython