From 615a580d9fe6c909f87d932a21c5fb6c736cc78d Mon Sep 17 00:00:00 2001 From: shimi Date: Thu, 5 Oct 2023 21:03:48 +0300 Subject: [PATCH 1/2] dont call SendUnknownMethodErrorIfNoReplySent on unhandled method_call --- src/Tmds.DBus.Protocol/DBusConnection.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Tmds.DBus.Protocol/DBusConnection.cs b/src/Tmds.DBus.Protocol/DBusConnection.cs index 540b43fe..449da9b4 100644 --- a/src/Tmds.DBus.Protocol/DBusConnection.cs +++ b/src/Tmds.DBus.Protocol/DBusConnection.cs @@ -348,10 +348,6 @@ private async void HandleMessages(Exception? exception, Message message) RunMethodHandler(methodHandler, context); } } - else - { - SendUnknownMethodErrorIfNoReplySent(context); - } } if (returnMessageToPool) @@ -1143,4 +1139,5 @@ MessageBuffer CreateErrorMessage(Message methodCall, string errorName, string er return writer.CreateMessage(); } } -} \ No newline at end of file +} + From f630c1aa201f14adc2f501683d441f273997b6ea Mon Sep 17 00:00:00 2001 From: shimi Date: Thu, 5 Oct 2023 21:04:31 +0300 Subject: [PATCH 2/2] 6