When a player picks up an object, then presses Tab to measure distance and then releases left mouse button before Tab, "Line tool" remains active.
The problem often is it's much more convenient to place an object still seeng the distance. So I guess this situation is just a bug, not an intended thing.