Skip to content

Commit

Permalink
Don't run the automatic registration in Development Mode
Browse files Browse the repository at this point in the history
If the IDE is running in "Development Mode" it doesn't make sense to
run this registration job.

Contributes to:
eclipse-platform#2245
  • Loading branch information
BeckerWdf committed Sep 24, 2024
1 parent 1ab0ce3 commit c8b75c2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ public void initialize(IWorkbenchConfigurer configurer) {
jfaceComparatorIsSet = true;
}

new AutoRegisterSchemeHandlersJob().schedule();
if (!Platform.inDevelopmentMode()) {
new AutoRegisterSchemeHandlersJob().schedule();
}
}

protected void initResourceTracking() {
Expand Down

0 comments on commit c8b75c2

Please sign in to comment.