Closed kharabam closed 1 month ago
logs clear button not work
in logs tab
No response
v1.7.0
Windows
03:20:25.661512 - [W] LogsOverviewNotifier: error clearing logs LogFailure.unexpected(error: Invalid argument(s): Illegal argument in isolate message: object is unsendable - Library:'dart:async' Class: _MapStream@4048458 (see restrictions listed at SendPort.send() documentation for more information) <- Instance of 'FFISingboxService' (from package:hiddify/singbox/service/ffi_singbox_service.dart) <- Context num_variables: 1 <- FFISingboxService.clearLogs.. (from package:hiddify/singbox/service/ffi_singbox_service.dart) <- Instance of 'NoArgsTask<Either<String, Unit>>' (from package:combine/src/combine_worker/tasks.dart) <- Instance of '_ExecutableTaskRequest' (from package:combine/src/combine_worker/combine_task_executor.dart) , stackTrace: #0 _SendPort._sendInternal (dart:isolate-patch/isolate_patch.dart:250)
SendPort.send()
duplicate issue https://github.com/hiddify/hiddify-next/issues/1064
Search first
What Happened?
logs clear button not work
Minimal Reproducible Example (MRE)
in logs tab
Expected Behavior
No response
Version
v1.7.0
Platform/OS
Windows
Additional Context
No response
Application Config Options
No response
Relevant log output
03:20:25.661512 - [W] LogsOverviewNotifier: error clearing logs LogFailure.unexpected(error: Invalid argument(s): Illegal argument in isolate message: object is unsendable - Library:'dart:async' Class: _MapStream@4048458 (see restrictions listed at. (from package:hiddify/singbox/service/ffi_singbox_service.dart)
<- Instance of 'NoArgsTask<Either<String, Unit>>' (from package:combine/src/combine_worker/tasks.dart)
<- Instance of '_ExecutableTaskRequest' (from package:combine/src/combine_worker/combine_task_executor.dart)
, stackTrace: #0 _SendPort._sendInternal (dart:isolate-patch/isolate_patch.dart:250)
SendPort.send()
documentation for more information) <- Instance of 'FFISingboxService' (from package:hiddify/singbox/service/ffi_singbox_service.dart) <- Context num_variables: 1 <- FFISingboxService.clearLogs.Are you willing to submit a PR? If you know how to fix the bug.