I don't know LUA code, so I don't know exactly how a spawn bug works, but here's how it stops.
A spawn-bug continues for as long as someone on the effected team is trying to spawn.
In other words, it stops if everyone on the effected team stops trying to spawn.
It's pretty simple, but the more who know this the better.
One thing can kill this, and that's an inactive player, usually having gone afk the moment they spotted the spawn-bug.
An inactivity sensor would fix this, but I don't know if SWGO can implement this.