Skip to content

Commit

Permalink
Fixed Scheduler exception when navigating away
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Dec 11, 2024
1 parent a588b45 commit fb537c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Radzen.Blazor/wwwroot/Radzen.Blazor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ window.Radzen = {
return this.createResizable(ref, instance);
},
destroyScheduler: function (ref) {
if (ref.resizeHandler) {
if (ref && ref.resizeHandler) {
window.removeEventListener('resize', ref.resizeHandler);
delete ref.resizeHandler;
}
Expand Down

0 comments on commit fb537c4

Please sign in to comment.