(&mut self)
| 1197 | |
| 1198 | impl<'a> Drop for BreakpointEdit<'a> { |
| 1199 | fn drop(&mut self) { |
| 1200 | for &store_code_base in &self.dirty_modules { |
| 1201 | let store_code = self.registry.store_code_mut(store_code_base).unwrap(); |
| 1202 | if let Err(e) = store_code |
| 1203 | .code_memory_mut() |
| 1204 | .expect("Must have unique ownership of StoreCode in guest-debug mode") |
| 1205 | .publish() |
| 1206 | { |
| 1207 | abort_on_republish_error(e); |
| 1208 | } |
| 1209 | } |
| 1210 | } |
| 1211 | } |
| 1212 | |
| 1213 | /// Abort when we cannot re-publish executable code. |
nothing calls this directly
no test coverage detected