This code crashes my terminal all the times...

 

This script deletes all custom symbols created but every time i call the script or source coude runing it makes my MT5 terminal crash.

i dont know if this is the best place to share this code. maybe  i should ask on service desk but i dont know if it's a code related issue or a system bug...

Thanks in advance and reguards.

Reason: