Skip to content

Commit

Permalink
Make unload function of loaded image protocol an Option
Browse files Browse the repository at this point in the history
Signed-off-by: David Rheinsberg <[email protected]>
  • Loading branch information
joschock authored and dvdhrm committed Jul 30, 2024
1 parent 5e0ace8 commit 4c8c14a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocols/loaded_image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ pub struct Protocol {
pub image_size: u64,
pub image_code_type: crate::system::MemoryType,
pub image_data_type: crate::system::MemoryType,
pub unload: ProtocolUnload,
pub unload: Option<ProtocolUnload>,
}

0 comments on commit 4c8c14a

Please sign in to comment.