Skip to content
Merged
Changes from 1 commit
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
Next Next commit
If we receive an empty update we should just ignore it.
  • Loading branch information
thaystg authored and github-actions committed Oct 2, 2025
commit 06ce4fc9fa2f0dcd7ffbf57b3a9046ab08268a77
6 changes: 4 additions & 2 deletions src/mono/mono/component/hot_reload.c
Original file line number Diff line number Diff line change
Expand Up @@ -2381,9 +2381,11 @@ hot_reload_apply_changes (int origin, MonoImage *image_base, gconstpointer dmeta
if (!assembly_update_supported (image_base, error)) {
return;
}

if (dmeta_bytes == 0 && dil_bytes_orig == 0) //we may receive empty updates
{
return;
}
static int first_origin = -1;

if (first_origin < 0) {
first_origin = origin;
}
Expand Down