We can hope China would lean on Russia to keep them from doing anything stupid... On the other hand, they have not been much help in arresting Jung-un Kim's bellicose antics and he's a much smaller player, though tactically smarter.
There is no worse outcome for China than the replacement of a neutral/friendly regime in Russia with a pro-western one.
It's also one of the best outcomes for Russia.