File tree Expand file tree Collapse file tree
next/kmp/core/src/commonMain/kotlin/org/dweb_browser/core/ipc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ import kotlinx.coroutines.launch
88import kotlinx.coroutines.plus
99import org.dweb_browser.core.help.types.MicroModuleManifest
1010import org.dweb_browser.helper.Debugger
11+ import org.dweb_browser.helper.SafeHashSet
1112import org.dweb_browser.helper.SuspendOnce1
1213import org.dweb_browser.helper.UUID
1314import org.dweb_browser.helper.globalDefaultScope
1415import org.dweb_browser.helper.randomUUID
15- import org.dweb_browser.pure.http.PureStream
1616
1717val debugIpcPool = Debugger (" ipcPool" )
1818
@@ -37,12 +37,8 @@ open class IpcPool {
3737 /* *
3838 * 所有的ipc对象实例集合
3939 */
40- private val ipcSet = mutableSetOf <Ipc >()
40+ private val ipcSet = SafeHashSet <Ipc >()
4141
42- /* *
43- * 所有的委托进来的流的实例集合
44- */
45- private val streamPool = mutableMapOf<String , PureStream >()
4642 suspend fun createIpc (
4743 endpoint : IpcEndpoint ,
4844 pid : Int ,
You can’t perform that action at this time.
0 commit comments