Skip to content

Commit 0b2bcba

Browse files
committed
refactor: remove SourceServices.Instance
1 parent 78e546d commit 0b2bcba

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/jvmMain/kotlin/spp/protocol/SourceServices.kt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ package spp.protocol
1818

1919
import spp.protocol.SourceServices.Utilize.LIVE_INSTRUMENT
2020
import spp.protocol.SourceServices.Utilize.LIVE_VIEW
21-
import spp.protocol.service.LiveInstrumentService
22-
import spp.protocol.service.LiveService
23-
import spp.protocol.service.LiveViewService
2421

2522
/**
2623
* todo: description.
@@ -30,19 +27,6 @@ import spp.protocol.service.LiveViewService
3027
*/
3128
object SourceServices {
3229

33-
object Instance {
34-
var liveService: LiveService? = null
35-
var liveInstrument: LiveInstrumentService? = null
36-
var liveView: LiveViewService? = null
37-
38-
fun clearServices() {
39-
//todo: save services to project
40-
liveService = null
41-
liveInstrument = null
42-
liveView = null
43-
}
44-
}
45-
4630
object Utilize {
4731
const val LIVE_MANAGEMENT_SERVICE = "spp.service.live-management-service"
4832
const val LIVE_SERVICE = "spp.service.live-service"

0 commit comments

Comments
 (0)