Skip to content

Commit

Permalink
Fixed reloading of plugins
Browse files Browse the repository at this point in the history
ProDBG crashes on exit but that is due to rust-lang/rust#28794

Closes #177
  • Loading branch information
emoon committed Jun 17, 2016
1 parent ee4281d commit a3956b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/prodbg/core/src/view_plugins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,12 @@ impl PluginHandler for ViewPlugins {
fn reload_plugin(&mut self) {
let t = self.reload_state.clone();
for reload_plugin in &t {
Self::create_instance(self,
self.create_instance_with_handle(
reload_plugin.ui.clone(),
&reload_plugin.name,
reload_plugin.session_handle);
&None, // TODO: Include saved data here
reload_plugin.session_handle,
reload_plugin.handle);
}
}

Expand Down

0 comments on commit a3956b1

Please sign in to comment.