Synchronize yaml save to close #286, crash on end
This commit is contained in:
parent
f44cf6c8e9
commit
fa9dd7e27f
@ -80,7 +80,7 @@ public class YamlReconnectHandler implements ReconnectHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void save()
|
public synchronized void save()
|
||||||
{
|
{
|
||||||
try ( FileWriter wr = new FileWriter( file ) )
|
try ( FileWriter wr = new FileWriter( file ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user