Skip to content

Commit 5fcadb4

Browse files
committed
refactor: remove auto-initialization from RunConfigViewModel
- Comment out the `service.initialize()` launch in the init block to prevent automatic service initialization on view model creation.
1 parent d8dd3a0 commit 5fcadb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mpp-ui/src/commonMain/kotlin/cc/unitmesh/devins/ui/compose/runconfig/RunConfigViewModel.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ class RunConfigViewModel(
6363

6464
init {
6565
// Initialize on creation
66-
scope.launch {
67-
service.initialize()
68-
}
66+
// scope.launch {
67+
// service.initialize()
68+
// }
6969
}
7070

7171
/**

0 commit comments

Comments
 (0)