Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Loading.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ void Internal::Load() {

// Call all events after loading il2cpp
auto events = onIl2CppLoaded;
if (events.IsEmpty()) return;
auto current = events.lastElement->next;
do {
current->value();
Expand Down Expand Up @@ -488,4 +489,4 @@ void Loading::AddOnLoadedEvent(void (*event)()) {

void Loading::ClearOnLoadedEvents() {
Internal::onIl2CppLoaded.Clear();
}
}