Skip to content

Applications that exit too quickly fail to flush their data #2124

@jleibs

Description

@jleibs

Looks like a fairly standard shutdown race condition:

fast.py

import rerun as rr

rr.init("fast", spawn=True)
rr.log_rect("rect", [16, 16, 64, 64], label="Rect1", color=(255, 0, 0))

No data shows up.

slow.py:

import rerun as rr

rr.init("fast", spawn=True)
rr.log_rect("rect", [16, 16, 64, 64], label="Rect1", color=(255, 0, 0))
import time
time.sleep(0.1)

Data shows up.

Metadata

Metadata

Assignees

Labels

🦟 regressionA thing that used to work in an earlier release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions