Xi is no fool and not new to this game.
Came away with Trump agreeing to go easy on trade (any agreements on which the Chinese have a history of just ignoring anyway) if they somehow report that they are keeping Kim in check—a game the Chinese have been playing for decades.
China actually turned away NK coal shipments. That is real.