Ticket #90: destroy_issue.patch

File destroy_issue.patch, 0.7 kB (added by tschaub, 1 year ago)

demonstration of the problem

  • tests/lib/GeoExt/widgets/tree/LayerContainer.html

    old new  
    5454            t.ok(node.firstChild.layer === layer, "child layer is correct"); 
    5555 
    5656            node.destroy(); 
    57             //map.destroy(); 
     57            map.destroy(); 
    5858             
    5959        } 
    6060         
     
    117117            t.eq(root.childNodes[3].layer.name, "c", "[c, a, b, d] first layer drawn at bottom of root"); 
    118118             
    119119            root.destroy(); 
    120             //map.destroy(); 
     120            map.destroy(); 
    121121             
    122122        } 
    123123