Still working on trk delete.

This commit is contained in:
vdv committed 2023-01-09 14:23:41 +01:00
1 parent 45f7c797e7
commit 9931887f03
6 files changed
+41 -14

No files matched your search

+1
View File
@@ -33,6 +33,7 @@ export const Trk: Component<Props> = ({ vectorSource, trkId, context }) => {
const trk = createCachedSignal(params);
onCleanup(() => {
console.log({ caller: 'Trk / onCleanup', trkId, trk: trk(), params });
destroyCachedSignal(params);
});