Take the bar and clutch apart and clean the junk out. Then dump the wrong mixture gas out and put fresh stuff in. Also check your bar oil. Should fix your problem.
Do this first. ^^^
If you’re still having problems with it killing, adjust your idle speed.
Engaging the chain brake should NOT kill the saw when at idle. This is for safety, under certain conditions the saw should be started with the brake engaged for safety.
Make sure you know which is the idle speed adjustment screw before turning anything, do NOT adjust the High and Low carb adjustments accidentally.
The idle adjustment should be made with the saw at operating temperature, so start and warm up the saw before making any adjustments. With the saw idling, the chain should stop fully. If it does not…
With the saw OFF for safety, turn the idle screw outward 1/4 of a turn. Start saw and observe idle. Repeat procedure if chain is still turning at idle. If the engine will not idle you have slowed the idle speed too much, turn screw the opposite direction in 1/4 turn increments to increase idle speed.
Grouse