For small engines, gas in the oil is usually one of two things.
Most common, a stuck needle valve in the carb allowing gas to pour unchecked into the combustion chamber, where it seeps past the piston and into the crankcase. Usually when the engine is not running. Many recommend a fuel line shutoff be put in line to stop this if you can't easily or quickly correct this problem in the carb.
Much less common, severely worn piston rings allowing some fuel to enter the crankcase.
There may be other issues with that engine I am not aware of, but these are the common causes of gas in crankcase oil that I have been exposed to. Whatever the case, it is obviously not a good thing to have gas in your crankcase oil. You need to address this, as you are doing, and remedy the situation quickly. Don't allow the engine to run with gas in the crankcase.
Good luck.