diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-02-28 15:23:45 +0100 |
|---|---|---|
| committer | Georgios Andreadis <info@gandreadis.com> | 2020-03-04 17:51:55 +0100 |
| commit | 185c0ab39225e1c6d45122626f90e79c2f2f3cc4 (patch) | |
| tree | 3d4bd0212cd24e0388cb344a0c3895d941a05ed0 | |
| parent | 40ac395ee59dbb4ae16b7b77581cd14245c71f39 (diff) | |
Make onExit suspending
| -rw-r--r-- | opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/driver/hypervisor/VmServerContext.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/driver/hypervisor/VmServerContext.kt b/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/driver/hypervisor/VmServerContext.kt index f8fb2033..60fdf082 100644 --- a/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/driver/hypervisor/VmServerContext.kt +++ b/opendc/opendc-compute/src/main/kotlin/com/atlarge/opendc/compute/virt/driver/hypervisor/VmServerContext.kt @@ -22,7 +22,7 @@ class VmServerContext( override var server: Server, val monitor: ServerMonitor, val scheduler: VmScheduler, - val onExit: () -> Unit, + val onExit: suspend () -> Unit, ctx: SimulationContext ) : ServerManagementContext { private var initialized: Boolean = false |
