intercom / intercom-rails

The easiest way to install Intercom in a Rails app.
https://developers.intercom.io/reference
MIT License
281 stars 108 forks source link

Shutdown not working properly #327

Open joofsh opened 4 years ago

joofsh commented 4 years ago

Version info

Expected behavior

Calling IntercomRails::ShutdownHelper.prepare_intercom_shutdown(session) on logout should close/expire the Intercom session

Actual behavior

Two issues with this:

Steps to reproduce

  1. Copy a network request to intercom when sending a message
  2. Logout, triggering the gem's intended shutdown code
  3. Resend a similar request. You can continue to send messages to Intercom

Logs