Skip to content

Commit

Permalink
Implement async disposing of elements (IAsyncDisposable) #269
Browse files Browse the repository at this point in the history
  • Loading branch information
valentasm committed Jul 10, 2023
1 parent 97eaf4f commit dac5281
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GoogleMapsComponents/GoogleMapsComponents.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<RazorLangVersion>3.0</RazorLangVersion>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<PackageId>BlazorGoogleMaps</PackageId>
<Version>3.0.8</Version>
<Version>3.1.0</Version>
<Authors>Rungwiroon</Authors>
<Company>QueueStack Solution</Company>
<Product>BlazorGoogleMaps</Product>
Expand Down
2 changes: 2 additions & 0 deletions GoogleMapsComponents/wwwroot/js/objectManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@
var element = mapObjects[key];
if (element.hasOwnProperty("map")
&& element.hasOwnProperty("guidString")
&& element.map !== null
&& element.map !== undefined
&& element.map.guidString === mapGuid) {
keysToRemove.push(element.guidString);
}
Expand Down

0 comments on commit dac5281

Please sign in to comment.