In both situations, under both rules codes, the ball does not become dead until the try ends. So, the basket will count and the penalty for the foul (FTs or the ball for a throw-in, depending on the number of team fouls) will be enforced.
Note that had the try been started but the ball had not been released, we'd have the same result on B's foul, but the ball would become immediately dead on A's foul.
|