Mercurial
Mercurial
>
ns-3.5
/ file revision
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
| file |
latest
|
revisions
|
annotate
|
diff
|
comparison
|
raw
|
help
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
bindings/python/ns3/__init__.py
author
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue, 27 Jan 2009 14:18:55 +0000
changeset 4128
4132bb61ab3c
parent 3408
2cc40b3e4fa5
permissions
-rw-r--r--
Make sure to call ns3.Simulator.Destroy() before python exit to avoid segmentation faults on program exit.
from _ns3 import *
import atexit
atexit.register(Simulator.Destroy)
del atexit