make scripted sleep no-op
ClosedPublic

Authored by sitter on Jun 24 2019, 10:59 AM.

Details

Summary

this was implemented using a nested loop, which is simply not viable
because nested looping may work on inconsistent object states and cause
crashes all over the place. furthermore sleeping probably has no real use
case as there isn't anything you could be sleeping for

prevent any future problems by making the API method do nothing and instead
print a warning about it being deprecated.

should be removed when moving over to kf6

Test Plan

prints warning when sleeping

Diff Detail

Repository
R120 Plasma Workspace
Branch
no-sleep
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13260
Build 13278: arc lint + arc unit
sitter created this revision.Jun 24 2019, 10:59 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 24 2019, 10:59 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sitter requested review of this revision.Jun 24 2019, 10:59 AM
davidedmundson accepted this revision.Jun 24 2019, 11:00 AM
This revision is now accepted and ready to land.Jun 24 2019, 11:00 AM
This revision was automatically updated to reflect the committed changes.