summaryrefslogtreecommitdiff
path: root/simulator/opendc-trace
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-01-12 14:21:26 +0100
committerGitHub <noreply@github.com>2021-01-12 14:21:26 +0100
commitb1a9f17feb6c6068c1c8f0162a516e29ac48a35a (patch)
treede5f4f0d2ee1571facea6b5319853b189aa35c0a /simulator/opendc-trace
parente9278df42673deaeace0d85337ac1434ec6c081d (diff)
parent6e4a9dd6af6b768468194b5a2aeffd60836e6407 (diff)
Merge pull request #73 from atlarge-research/feat/harness-sc18
Update SC18 experiments to use experiment harness
Diffstat (limited to 'simulator/opendc-trace')
-rw-r--r--simulator/opendc-trace/opendc-trace-core/src/main/kotlin/org/opendc/trace/core/internal/AbstractEventStream.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulator/opendc-trace/opendc-trace-core/src/main/kotlin/org/opendc/trace/core/internal/AbstractEventStream.kt b/simulator/opendc-trace/opendc-trace-core/src/main/kotlin/org/opendc/trace/core/internal/AbstractEventStream.kt
index 1887ad7a..fac99664 100644
--- a/simulator/opendc-trace/opendc-trace-core/src/main/kotlin/org/opendc/trace/core/internal/AbstractEventStream.kt
+++ b/simulator/opendc-trace/opendc-trace-core/src/main/kotlin/org/opendc/trace/core/internal/AbstractEventStream.kt
@@ -124,7 +124,7 @@ internal abstract class AbstractEventStream : EventStream {
}
override fun close() {
- if (state != StreamState.Closed) {
+ if (state == StreamState.Closed) {
return
}