mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:58:11 +00:00
LibCore: Convert CTimer to ObjectPtr
This commit is contained in:
parent
c34fd10b5b
commit
50a6560413
22 changed files with 91 additions and 70 deletions
|
@ -52,7 +52,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto next_sample_buffer = loader.get_more_samples();
|
||||
|
||||
new CTimer(100, [&] {
|
||||
auto timer = CTimer::create(100, [&] {
|
||||
if (!next_sample_buffer) {
|
||||
sample_widget->set_buffer(nullptr);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue