mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Fix issue #169 by courtesy of lukaszbruun.
Calling Source::stop() in Source::~Source() could result in a infinite recursion when Pool::removeSource released the source object.
This commit is contained in:
@@ -82,7 +82,8 @@ namespace openal
|
||||
|
||||
void Source::stop()
|
||||
{
|
||||
pool->stop(this);
|
||||
if (!isStopped())
|
||||
pool->stop(this);
|
||||
}
|
||||
|
||||
void Source::pause()
|
||||
|
||||
Reference in New Issue
Block a user