Prevent infinite loop of errors in case of swap_buffer issue due to missing window
ça a l'air de corriger ce problème : https://github.com/BelledonneCommunications/linphone-android/issues/2301#issuecomment-2577906430
ça a l'air de corriger ce problème : https://github.com/BelledonneCommunications/linphone-android/issues/2301#issuecomment-2577906430