Pretty sure that was during the first VAR season, and the rules has changed since then.
Back then, the linesman would raise his flag but play would go on and then the ref would pull it back. Nowadays, the linesman should keep his flag down if it's a close call and then raise it. Don't know why he raised it straight away tonight.