Sombra’s hack has a leniency of .1 seconds. This means that it doesn’t immediately gets interrupted when the LoS is broken or the player has used an invulnerability ability like Mei’s Cryo-Freeze or Tracer’s recall.
But this will be removed with the upcoming Sombra nerfs.