We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 593c189 commit a073a4dCopy full SHA for a073a4d
package/cpp/RNFFilamentRecorder.cpp
@@ -38,7 +38,7 @@ std::shared_ptr<Listener> FilamentRecorder::addOnReadyForMoreDataListener(ReadyF
38
39
bool FilamentRecorder::onReadyForMoreData() {
40
// notify all JS listeners
41
- bool shouldContinueNext = true;
+ bool shouldContinueNext = _listenerManager->getHasListeners();
42
_listenerManager->forEach([&shouldContinueNext](const ReadyForMoreDataCallback& callback) {
43
bool result = callback();
44
if (!result) {
0 commit comments