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 59c2ba0 commit a70a3bdCopy full SHA for a70a3bd
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