Skip to content

Commit 63e007d

Browse files
committed
Add a comment for a bug I'm not sure is worth fixing
1 parent b7dd321 commit 63e007d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jngl/SoundFile.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ Finally pauseAudio() {
314314
audio->increasePauseDeviceCount();
315315
return Finally([audio]() { audio->decreasePauseDeviceCount(); });
316316
}
317-
return Finally(nullptr);
317+
return Finally(nullptr); // FIXME: This is a bug if the Finally lives so long that the Audio
318+
// object is created in time
318319
}
319320

320321
Audio& GetAudio() {

0 commit comments

Comments
 (0)