Describe the bug
When switching tabs it's possible to loose produced images (Blobs).
To Reproduce
Steps to reproduce the behavior:
Open app in two Safari tabs
Generate/draw some images in both
Keep switching tabs
Sometimes images get lost
Expected behavior
Images should be preserved
Screenshots
N/A
Platform (please complete the following information):
Browser: Safari
Additional context
It's most likely an issue with the IndexedDB transaction not being finished. Even though the promise is resolved, the transaction is still pending in the browser and might fail when switching tabs.
Describe the bug When switching tabs it's possible to loose produced images (Blobs).
To Reproduce Steps to reproduce the behavior:
Expected behavior Images should be preserved
Screenshots N/A
Platform (please complete the following information):
Additional context It's most likely an issue with the IndexedDB transaction not being finished. Even though the promise is resolved, the transaction is still pending in the browser and might fail when switching tabs.