▲ | themafia 3 days ago | |
It seems like the major problem here was blindly calling an init function and then completely failing when it returned a non standard result. The init function could return a status that indicates "already initialized." The calling code could observe this and passively warn of the unusual condition but otherwise proceed. |