mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 15:11:31 +00:00
[client] shutdown: silence expected transport teardown
This commit is contained in:
@@ -102,6 +102,7 @@ static bool controlReady(uint64_t now)
|
|||||||
if (status != LG_TRANSPORT_OK)
|
if (status != LG_TRANSPORT_OK)
|
||||||
{
|
{
|
||||||
if (status != LG_TRANSPORT_UNAVAILABLE &&
|
if (status != LG_TRANSPORT_UNAVAILABLE &&
|
||||||
|
status != LG_TRANSPORT_DISCONNECTED &&
|
||||||
!l_frameScheduler.controlFaulted)
|
!l_frameScheduler.controlFaulted)
|
||||||
{
|
{
|
||||||
DEBUG_WARN(
|
DEBUG_WARN(
|
||||||
@@ -169,6 +170,7 @@ static bool sendSchedule(LG_TransportFrameScheduleFlags flags,
|
|||||||
if (status != LG_TRANSPORT_OK)
|
if (status != LG_TRANSPORT_OK)
|
||||||
{
|
{
|
||||||
if (status != LG_TRANSPORT_UNAVAILABLE &&
|
if (status != LG_TRANSPORT_UNAVAILABLE &&
|
||||||
|
status != LG_TRANSPORT_DISCONNECTED &&
|
||||||
!l_frameScheduler.enqueueFaulted)
|
!l_frameScheduler.enqueueFaulted)
|
||||||
{
|
{
|
||||||
DEBUG_WARN("Frame-schedule control failed with status %d", status);
|
DEBUG_WARN("Frame-schedule control failed with status %d", status);
|
||||||
|
|||||||
@@ -753,7 +753,8 @@ static void lgmp_unsubscribeFrameLease(struct LGMPFrameLease * lease)
|
|||||||
const LGMP_STATUS status = lgmpClientUnsubscribe(lease->subscription);
|
const LGMP_STATUS status = lgmpClientUnsubscribe(lease->subscription);
|
||||||
if (status != LGMP_OK)
|
if (status != LGMP_OK)
|
||||||
{
|
{
|
||||||
if (status != LGMP_ERR_QUEUE_TIMEOUT &&
|
if (status != LGMP_ERR_INVALID_SESSION &&
|
||||||
|
status != LGMP_ERR_QUEUE_TIMEOUT &&
|
||||||
status != LGMP_ERR_QUEUE_UNSUBSCRIBED)
|
status != LGMP_ERR_QUEUE_UNSUBSCRIBED)
|
||||||
DEBUG_WARN("Failed to unsubscribe from LGMP frame queue: %s",
|
DEBUG_WARN("Failed to unsubscribe from LGMP frame queue: %s",
|
||||||
lgmpStatusString(status));
|
lgmpStatusString(status));
|
||||||
@@ -833,7 +834,8 @@ static void lgmp_stopPointer(struct LG_Transport * this)
|
|||||||
const LGMP_STATUS status = lgmpClientUnsubscribe(&this->pointerQueue);
|
const LGMP_STATUS status = lgmpClientUnsubscribe(&this->pointerQueue);
|
||||||
if (status != LGMP_OK)
|
if (status != LGMP_OK)
|
||||||
{
|
{
|
||||||
if (status != LGMP_ERR_QUEUE_TIMEOUT &&
|
if (status != LGMP_ERR_INVALID_SESSION &&
|
||||||
|
status != LGMP_ERR_QUEUE_TIMEOUT &&
|
||||||
status != LGMP_ERR_QUEUE_UNSUBSCRIBED)
|
status != LGMP_ERR_QUEUE_UNSUBSCRIBED)
|
||||||
DEBUG_WARN("Failed to unsubscribe from the LGMP pointer queue: %s",
|
DEBUG_WARN("Failed to unsubscribe from the LGMP pointer queue: %s",
|
||||||
lgmpStatusString(status));
|
lgmpStatusString(status));
|
||||||
|
|||||||
Reference in New Issue
Block a user