Don't dump queueSubscription
This commit is contained in:
parent
abe18d0b66
commit
d28ff73ee6
@ -72,6 +72,7 @@ import org.rocksdb.ColumnFamilyHandle;
|
|||||||
import org.rocksdb.ReadOptions;
|
import org.rocksdb.ReadOptions;
|
||||||
import org.rocksdb.RocksDB;
|
import org.rocksdb.RocksDB;
|
||||||
import reactor.core.Disposable;
|
import reactor.core.Disposable;
|
||||||
|
import reactor.core.Fuseable.QueueSubscription;
|
||||||
import reactor.core.publisher.Flux;
|
import reactor.core.publisher.Flux;
|
||||||
import reactor.core.publisher.Hooks;
|
import reactor.core.publisher.Hooks;
|
||||||
import reactor.core.publisher.Mono;
|
import reactor.core.publisher.Mono;
|
||||||
@ -1022,7 +1023,9 @@ public class LLUtils {
|
|||||||
} else if (next instanceof Resource<?> resource && resource.isAccessible()) {
|
} else if (next instanceof Resource<?> resource && resource.isAccessible()) {
|
||||||
resource.close();
|
resource.close();
|
||||||
} else if (next instanceof Collection<?> iterable) {
|
} else if (next instanceof Collection<?> iterable) {
|
||||||
iterable.forEach(LLUtils::onNextDropped);
|
if (!(next instanceof QueueSubscription)) {
|
||||||
|
iterable.forEach(LLUtils::onNextDropped);
|
||||||
|
}
|
||||||
} else if (next instanceof AbstractImmutableNativeReference rocksObj) {
|
} else if (next instanceof AbstractImmutableNativeReference rocksObj) {
|
||||||
if (rocksObj.isOwningHandle()) {
|
if (rocksObj.isOwningHandle()) {
|
||||||
rocksObj.close();
|
rocksObj.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user