summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-04-08 14:35:59 -0400
committerDavid Robillard <d@drobilla.net>2021-04-08 14:35:59 -0400
commitf06a1bc9bd65ff3a34fc6fd4dc4b55056aaaaeec (patch)
tree86f0307816bd17655c07545df01f7fc1910f64b6
parent2fd32e98e038786123c208ed8262d2ee4c5f794e (diff)
downloadpatchage-f06a1bc9bd65ff3a34fc6fd4dc4b55056aaaaeec.tar.gz
patchage-f06a1bc9bd65ff3a34fc6fd4dc4b55056aaaaeec.tar.bz2
patchage-f06a1bc9bd65ff3a34fc6fd4dc4b55056aaaaeec.zip
Fix crash on client disconnection
-rw-r--r--NEWS3
-rw-r--r--src/event_to_string.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 0b8f950..c1e44c5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,9 @@
patchage (1.0.5) unstable;
+ * Fix crash on client disconnection
* Show latency in toolbar with 2 decimal places
- -- David Robillard <d@drobilla.net> Thu, 08 Apr 2021 18:30:02 +0000
+ -- David Robillard <d@drobilla.net> Thu, 08 Apr 2021 18:35:43 +0000
patchage (1.0.4) stable;
diff --git a/src/event_to_string.cpp b/src/event_to_string.cpp
index d898845..43c4eb6 100644
--- a/src/event_to_string.cpp
+++ b/src/event_to_string.cpp
@@ -73,7 +73,7 @@ struct EventPrinter {
std::string operator()(const ClientDestructionEvent& event)
{
- return fmt::format(R"(Add{} {} {} port "{}" ("{}"))", event.id);
+ return fmt::format(R"(Remove client "{}")", event.id);
}
std::string operator()(const PortType port_type)