The close() function is already being called at the end of the stage. The same code present in wait() is needless duplication. This commit removes the duplicated code from wait() and a slight change in the conditions in close().
It is unknown if this contributes to #277 but at the very least this reduces the attack surface.
The close() function is already being called at the end of the stage. The same code present in wait() is needless duplication. This commit removes the duplicated code from wait() and a slight change in the conditions in close().
It is unknown if this contributes to #277 but at the very least this reduces the attack surface.