Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
ace6ae14
Commit
ace6ae14
authored
Sep 27, 2017
by
Björn Richerzhagen
Committed by
Jose Ignacio Monreal Bailey
Aug 20, 2019
Browse files
Fixed Traci-Shutdown
parent
4be3ef1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/movement/vehicular/sumo/simulation/controller/traci/TraciSimulationController.java
View file @
ace6ae14
...
...
@@ -119,15 +119,7 @@ public class TraciSimulationController implements VehicleController, SimulationS
e
.
printStackTrace
();
}
Runnable
shutdownHook
=
new
Runnable
()
{
@Override
public
void
run
()
{
_connection
.
close
();
}
};
Runtime
.
getRuntime
().
addShutdownHook
(
new
Thread
(
shutdownHook
));
Simulator
.
getInstance
().
addObserver
(
this
);
_initalized
=
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment