Mem leak fix
This commit is contained in:
@@ -351,6 +351,7 @@ public class WorldImporter implements IDataImporter {
|
|||||||
var data = new MemoryBuffer(n).cpyFrom(base + 5);
|
var data = new MemoryBuffer(n).cpyFrom(base + 5);
|
||||||
this.jobQueue.add(()-> {
|
this.jobQueue.add(()-> {
|
||||||
if (!this.isRunning) {
|
if (!this.isRunning) {
|
||||||
|
data.free();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user