diff --git a/IPython/terminal/pt_inputhooks/qt.py b/IPython/terminal/pt_inputhooks/qt.py
index 638ea2b..2f3f491 100644
--- a/IPython/terminal/pt_inputhooks/qt.py
+++ b/IPython/terminal/pt_inputhooks/qt.py
@@ -84,5 +84,7 @@ def inputhook(context):
                 _exec(event_loop)
         finally:
             notifier.setEnabled(False)
-    # make sure that the QObject is being deleted
+
+    # This makes sure that the event loop is garbage collected.
+    # See issue 14240.
     event_loop.setParent(None)