Fixed a crash at exit in the Python example
Fixed a crash at exit in the Python example

Sisky/sdk,SuperStarPL/sdk,PatrickJBaird/sdk,BlackFired/sdk,Alexx99/sdk,BiuroCo/mega,sergiohs84/sdk,BlackFired/sdk,sergiohs84/sdk,Novo1987/sdk,SuperStarPL/sdk,Novo1987/sdk,Alexx99/sdk,Sisky/sdk,PatrickJBaird/sdk,BiuroCo/mega,meganz/sdk,Novo1987/sdk,Acidburn0zzz/sdk,BiuroCo/mega,BlackFired/sdk,Acidburn0zzz/sdk,Novo1987/sdk,sergiohs84/sdk,BiuroCo/mega,Acidburn0zzz/sdk,Acidburn0zzz/sdk,meganz/sdk,meganz/sdk,PatrickJBaird/sdk,sergiohs84/sdk,PatrickJBaird/sdk,Acidburn0zzz/sdk,sergiohs84/sdk,Sisky/sdk,BlackFired/sdk,meganz/sdk,Novo1987/sdk,PatrickJBaird/sdk,meganz/sdk,Sisky/sdk,Acidburn0zzz/sdk,Novo1987/sdk,PatrickJBaird/sdk,meganz/sdk,Alexx99/sdk,Alexx99/sdk,Novo1987/sdk,Novo1987/sdk,SuperStarPL/sdk,Sisky/sdk,sergiohs84/sdk,BiuroCo/mega,sergiohs84/sdk,Sisky/sdk,SuperStarPL/sdk,meganz/sdk,sergiohs84/sdk,Alexx99/sdk,SuperStarPL/sdk,BiuroCo/mega,SuperStarPL/sdk,BlackFired/sdk,Alexx99/sdk,Acidburn0zzz/sdk,BlackFired/sdk,Acidburn0zzz/sdk