Show More
@@ -134,6 +134,10 b' def loadall(ui):' | |||
|
134 | 134 | for fn in _aftercallbacks[shortname]: |
|
135 | 135 | fn(loaded=False) |
|
136 | 136 | |
|
137 | # loadall() is called multiple times and lingering _aftercallbacks | |
|
138 | # entries could result in double execution. See issue4646. | |
|
139 | _aftercallbacks.clear() | |
|
140 | ||
|
137 | 141 | def afterloaded(extension, callback): |
|
138 | 142 | '''Run the specified function after a named extension is loaded. |
|
139 | 143 |
General Comments 0
You need to be logged in to leave comments.
Login now