changeset 29044:76ccc1446f22

maint: merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 11 Nov 2020 10:30:53 +0100
parents d25cd81b0577 (current diff) 9aec2c6ad40c (diff)
children cde4b1d9f6ef
files scripts/plot/appearance/legend.m
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/appearance/legend.m	Tue Nov 10 08:49:21 2020 +0100
+++ b/scripts/plot/appearance/legend.m	Wed Nov 11 10:30:53 2020 +0100
@@ -203,6 +203,10 @@
     return;
   endif
 
+  ## FIXME: This function needs to be locked to avoid bug #59439.  Remove this
+  ##        lock once that bug is properly fixed.
+  mlock ();
+
   opts = parse_opts (varargin{:});
 
   hl = opts.legend_handle;