Skip to content

Commit 471eb33

Browse files
authored
Merge pull request #828 from Stremio/fix/data-export-unload
fix(data_export): handle unload action
2 parents 1dd27a4 + 65485d1 commit 471eb33

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/models/data_export.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ impl<E: Env + 'static> UpdateWithCtx<E> for DataExport {
5050
}
5151
}
5252
}
53+
Msg::Action(Action::Unload) => eq_update(&mut self.export_url, None),
5354
Msg::Internal(Internal::DataExportResult(auth_key, result)) => match self.export_url {
5455
Some((ref loading_auth_key, Loadable::Loading)) if loading_auth_key == auth_key => {
5556
match result {

0 commit comments

Comments
 (0)