You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I made Java ConsoleApplication for send PushMessage using line-bot-sdk-java.
After Sending PushMessage, Java process didn't stop.
Java process stopped 1 minutes later after sending.
Java process stopped soon if not sending.
18:57:46.242 [Thread-1] INFO MyApplication - Shutdown... after 60 seconds delay
line-bot-sdk-java should provide a way to call client.connectionPool().evictAll();.
tokuhirom
changed the title
[BUG] Java ConsoleApplication doesn't stop after send PushMessage
Java ConsoleApplication stops after calling the APIs after 60 seconds delay.
Dec 8, 2021
Bug Report
Describe the bug
I made Java ConsoleApplication for send PushMessage using line-bot-sdk-java.
After Sending PushMessage, Java process didn't stop.
Java process stopped 1 minutes later after sending.
Java process stopped soon if not sending.
To Reproduce
I send PushMessage by following code.
Expected behavior
Java process stops soon after sending.
Environment (please complete the following information):
Additional context
Does Response close in LineMessagingClientImpl?
https://github.com/line/line-bot-sdk-java/blob/master/line-bot-api-client/src/main/java/com/linecorp/bot/client/LineMessagingClientImpl.java
Retrofit added comment about close Response in 2020 May.
square/retrofit#3400
The text was updated successfully, but these errors were encountered: