hiddify / hiddify-next

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
https://hiddify.com
Other
15.34k stars 1.41k forks source link

logs clear button #1076

Closed kharabam closed 1 month ago

kharabam commented 1 month ago

Search first

What Happened?

logs clear button not work logs-clear-button

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 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)

Are you willing to submit a PR? If you know how to fix the bug.

Arman-nsb commented 1 month ago

1064

titancomputer commented 1 month ago

duplicate issue https://github.com/hiddify/hiddify-next/issues/1064