Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 3.3 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Launch fdb in one window, type 'run' (see 'waiting for connection')
2. Launch adl against a debug compiled AIR applet
3. Finish your debug session
Actual Results:
Everything works 'normally', except dead instances of adl.exe and java.exe stack up in the task manager for each debug session, no matter which order the debug is finished (i.e. quit from applet, then fdb, or quit from fdb, then applet), and eventually will prevent windows from shutting down normally later in the day when you have 40 or 50 of these piled up.
Expected Results:
Um... no dead adl instances piled up.
Workaround (if any):
I wrote this batch to find leftover adl.exe instances and kill them. Windows will then shut down about as reliably as it ever did. This doesn't happen in Linux, so it's apparently windoze-only.
@echo off
rem
rem Clean up adl 'leftovers' that accumulate while debugging AIR apps
rem
rem Needs to be run with elevated privileges
rem
rem This requires MS pstools and some GNU tools for windows to be in your path somewhere
rem http://www.microsoft.com/technet/sysinternals/Networking/PsTools.mspx
rem http://gnuwin32.sourceforge.net/packages/sed.htm
rem http://gnuwin32.sourceforge.net/packages/findutils.htm
echo Killing ADL leftovers...
pslist 2>NUL | sed -n "s/^adl [ ]([0-9]).*$/\1/Ip" | xargs -r -L1 pskill -t