diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2023-12-29 21:53:58 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2023-12-29 21:53:58 +0530 |
| commit | b7048013fb2a853c5cfc0ca8de31e313a86b216d (patch) | |
| tree | 178ae6d73ca2e377ef4ed0a5d5f8e0d784cebfb0 /src/main.cpp | |
| parent | 8656492dc77f32132be2d09682576a90a99afba6 (diff) | |
detach thread properly
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4b478aa..1eb5c30 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -43,5 +43,7 @@ int main(int argc, char** argv) { platform.Update(chip8->video, videoScale); } + timerThread.detach(); + return 0; } |
