Editorial question132.3K views1,122 votes0 answers3,501 following
AI-generatedWhich cleanup mechanisms apply when a Drupal Ajax request is aborted?
When a browser cancels a Drupal Ajax request, the client-side XMLHttpRequest is aborted and the network connection closes. The PHP process handling that request continues running until it reaches PHP's max_execution_time or an explicit connection_aborted() check. For Ajax callbacks that acquire locks or write temporary data, this gap creates uncertainty abou