Elendas
Elendas

Reputation: 763

CoreAnimation: warning, deleted thread with uncommitted CATransaction

While my app is running, I often get the following warning:

CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.

Does anyone have an idea why this message shows up sometimes? Is it possible that it's causing a crash?

Upvotes: 6

Views: 3806

Answers (1)

user749242
user749242

Reputation:

i guess anywhere in your code is an uncommitted CATransaction, maybe this is what you have missed:

[CATransaction begin];
[CATransaction setDisableActions:YES];
layer.bounds = CGRectMake(0, 0, 1000, 1000);
[CATransaction commit];

taken from here CoreAnimation uncommitted CATransaction warning

Upvotes: 5

Related Questions