Skip to content

Commit

Permalink
[unity]增加得确保使用BOEHM GC的说明
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jan 31, 2024
1 parent bd5cae3 commit 130d8be
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <mutex>
#include <map>

// Because we need to hold the pointer, we must ensure that GC does not do memory reorganization.
static_assert(IL2CPP_GC_BOEHM, "Only BOEHM GC supported!");

using namespace il2cpp::vm;
Expand Down

0 comments on commit 130d8be

Please sign in to comment.