diff --git a/buildnumber.txt b/buildnumber.txt index 75fe09e0..68bcf6a3 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1544 \ No newline at end of file +1546 \ No newline at end of file diff --git a/source/funkin/system/Main.hx b/source/funkin/system/Main.hx index c5eb3d39..e7dfad85 100644 --- a/source/funkin/system/Main.hx +++ b/source/funkin/system/Main.hx @@ -224,6 +224,8 @@ class Main extends Sprite Paths.assetsTree.clearCache(); - + #if cpp + cpp.vm.Gc.run(true); + #end } }