# HG changeset patch # User Markus Mützel # Date 1606415062 -3600 # Node ID 158f9d2320c76b665324c05cf4d6e0493a55106b # Parent 40d95224c155b93502d1f1ff68595073a1cdbf35 linkprop.m: Lock file to avoid invalid function handles to subfunctions (bug #59551). * scripts/plot/util/linkprop.m: Lock file to avoid invalid function handles to subfunctions after clearing functions. diff -r 40d95224c155 -r 158f9d2320c7 scripts/plot/util/linkprop.m --- a/scripts/plot/util/linkprop.m Thu Nov 26 19:18:56 2020 +0100 +++ b/scripts/plot/util/linkprop.m Thu Nov 26 19:24:22 2020 +0100 @@ -85,6 +85,10 @@ set (h(2:end), prop{j}, get (h(1), prop{j})); endfor + ## FIXME: This file needs to be locked to avoid bug #59439. Remove this + ## lock once that bug is properly fixed. + mlock (); + ## Add listeners to all objects for i = 1 : numel (h) for j = 1 : numel (prop)