Time and again, Assad didn’t fall because of the swift attack of the opposition, although that played a role.
Assad fell because he had been on life support for many years, and Russia decided to pull the plug at a time when Iran was unable to respond. Iran is out for good.
Russia got enough assurances its strategic assets in Hmemim and Tartus won’t be threatened.