@lvce-editor/renderer-process 30.65.3 → 30.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1472,11 +1472,12 @@ const getGeneration = () => state$m.generation;
|
|
|
1472
1472
|
const createRuntimeName = name => {
|
|
1473
1473
|
state$m.nextId++;
|
|
1474
1474
|
const id = `worker-${state$m.nextId}`;
|
|
1475
|
+
const runtimeId = `worker-${String(state$m.nextId).padStart(2, '0')}`;
|
|
1475
1476
|
return {
|
|
1476
1477
|
id,
|
|
1477
1478
|
name,
|
|
1478
1479
|
// Platform detection in workers relies on a trailing (Electron) or (Web).
|
|
1479
|
-
runtimeName: `[${
|
|
1480
|
+
runtimeName: `[${runtimeId}] ${name}`
|
|
1480
1481
|
};
|
|
1481
1482
|
};
|
|
1482
1483
|
const track = (worker, startedIn = state$m.generation, trackedWorker) => {
|