Synchronize yaml save to close #286, crash on end

This commit is contained in:
md_5 2013-04-27 18:17:40 +10:00
parent f44cf6c8e9
commit fa9dd7e27f

View File

@ -80,7 +80,7 @@ public class YamlReconnectHandler implements ReconnectHandler
}
@Override
public void save()
public synchronized void save()
{
try ( FileWriter wr = new FileWriter( file ) )
{