More cleanup
This commit is contained in:
@@ -85,7 +85,12 @@ maybeDescribe('ol.source.Raster', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
afterEach(function() {
|
afterEach(function() {
|
||||||
goog.dispose(map);
|
map.setTarget(null);
|
||||||
|
map.dispose();
|
||||||
|
raster.dispose();
|
||||||
|
greenSource.dispose();
|
||||||
|
redSource.dispose();
|
||||||
|
blueSource.dispose();
|
||||||
document.body.removeChild(target);
|
document.body.removeChild(target);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user