Not sure who the referee is but probably fair to say he hasn't had his finest hour. After awarding a penalty with the help of a VAR review for a handball earlier in the game, he has then proceeded to blow for full time with the clock on 85 minutes, then realised his mistake and restarted the game. He has then very harshly sent off a player for SFP (despite VAR taking him to the monitor to review - unheard of!) and finally has blown for full time AGAIN with the clock on 89:40, this time with the game not restarting. I think Tunisia will have something to say afterwards and there could be repercussions for this game and the referee.
EDIT: Apparently the referee was Janny Sikazwe of Zambia.