mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 12:48:00 -05:00
CommandParser: synchronize access to getInstance()
This commit is contained in:
parent
84fdcd8249
commit
4d3a7c2ecc
@ -126,7 +126,7 @@ public class CommandParser
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static CommandParser getInstance()
|
||||
public static synchronized CommandParser getInstance()
|
||||
{
|
||||
if (instance == null) {
|
||||
instance = new CommandParser();
|
||||
|
Loading…
Reference in New Issue
Block a user