fix driver access to worker widget cache
This commit is contained in:
parent
42903ea176
commit
8511b90746
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ kiri.load(api => {
|
|||
if (worker) {
|
||||
worker.fdm_support_generate = function(data, send) {
|
||||
const { settings } = data;
|
||||
const widgets = Object.values(wcache);
|
||||
const widgets = Object.values(worker.cache);
|
||||
const fresh = widgets.filter(widget => FDM.supports(settings, widget));
|
||||
send.done(kiri.codec.encode(fresh.map(widget => { return {
|
||||
id: widget.id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue