Fix race condition on getTileLazy
ClosedPublic

Authored by lieroz on Sep 15 2018, 12:23 PM.

Details

Reviewers
dkazakov
Group Reviewers
Krita
Summary

between 305-330 data could be potentially deleted by another thread, and calling thread would get NULL.

Diff Detail

Repository
R37 Krita
Lint
Lint Skipped
Unit
Unit Tests Skipped
lieroz created this revision.Sep 15 2018, 12:23 PM
Restricted Application added a reviewer: Krita. ยท View Herald TranscriptSep 15 2018, 12:23 PM
lieroz requested review of this revision.Sep 15 2018, 12:23 PM
dkazakov accepted this revision.Sep 15 2018, 1:01 PM

Looks okay, please push! :)

This revision is now accepted and ready to land.Sep 15 2018, 1:01 PM