Change 20090309-bargull-fGL by bargull@dell--p4--2-53 on 2009-03-09 03:20:55     in /home/Admin/src/svn/openlaszlo/trunk     for http://svn.openlaszlo.org/openlaszlo/trunk
Change 20090309-bargull-fGL by bargull@dell--p4--2-53 on 2009-03-09 03:20:55
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix timeout for media-content

New Features:

Bugs Fixed: LPP-7878 (SWF8: "ontimeout" not send for media-content)

Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Call unloadRequest() after performing the "already loaded"-check, because:
- for timed out load-objects LzLoadQueue.checkTimeout() sets the "timedout"-flag and calls returnData()
- if returnData() calls immediately LzLoadQueue.unloadRequest(), both the "timedout"- and "loaded"-flag are set
- in that case, the lfc-code warned that the load-object was already loaded, which is clearly wrong

    

Tests:
testcase at bugreport



git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@13224 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo