Skip to content

Commit

Permalink
Prevent creation of orphan Timer
Browse files Browse the repository at this point in the history
  • Loading branch information
lihop committed Feb 18, 2024
1 parent 60f10d4 commit 2290616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/godot_xterm/native/src/terminal.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ namespace godot
enum SelectionMode { NONE, POINTER };
bool selecting = false;
SelectionMode selection_mode = SelectionMode::NONE;
Timer *selection_timer = new Timer();
Timer *selection_timer;
void _handle_selection(Ref<InputEventMouse> event);
void _on_selection_held();
};
Expand Down

0 comments on commit 2290616

Please sign in to comment.