Merge pull request #3118 from rgrig/master

Fix in RedissonExecutorService
pull/6086/head
Nikita Koksharov 8 months ago committed by GitHub
commit 265e3662a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -422,6 +422,8 @@ public class RedissonExecutorService implements RScheduledExecutorService {
try { try {
ObjectOutput oo = new ObjectOutputStream(os); ObjectOutput oo = new ObjectOutputStream(os);
oo.writeObject(task); oo.writeObject(task);
oo.flush();
oo.close();
} catch (Exception e) { } catch (Exception e) {
throw new IllegalArgumentException("Unable to serialize lambda", e); throw new IllegalArgumentException("Unable to serialize lambda", e);
} }

Loading…
Cancel
Save