Skip to content

Commit

Permalink
fix memory leak in Query widget when refresh rate is set
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak Datt committed Jun 20, 2013
1 parent c78f8fb commit b865107
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/widgets/Query/QueryWidget.mxml
Expand Up @@ -366,7 +366,11 @@
{
FeatureSetUtil.sortFeaturesByFieldName(featureSet, orderByFields);
}
if (queryResultAC)
{
queryResultAC.removeAll();
}
queryResultAC = createQueryResults(featureSet);
addSharedData(widgetTitle, queryResultAC);
Expand Down

0 comments on commit b865107

Please sign in to comment.