Prevent racing condition

This commit is contained in:
robin 2021-05-01 12:33:08 +02:00
parent 18de76b222
commit 84d21431b1
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ local positions = {
['BOTTOMRIGHT'] = "BOTTOMRIGHT",
}
function child:updatePrefs(objname, brokerDefaults)
if(not broker) then return end
local p = broker['args']
p[objname] = {
['type'] = 'group',