Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2693953
D25469.1734770643.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
516 B
Referenced Files
None
Subscribers
None
D25469.1734770643.diff
View Options
diff --git a/support/startup/PhabricatorStartup.php b/support/startup/PhabricatorStartup.php
--- a/support/startup/PhabricatorStartup.php
+++ b/support/startup/PhabricatorStartup.php
@@ -261,10 +261,11 @@
public static function setDebugTimeLimit($limit) {
self::$debugTimeLimit = $limit;
- static $initialized;
+ static $initialized = false;
if (!$initialized) {
declare(ticks=1);
register_tick_function(array(__CLASS__, 'onDebugTick'));
+ $initialized = true;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 08:44 (15 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021130
Default Alt Text
D25469.1734770643.diff (516 B)
Attached To
Mode
D25469: Fix reentrancy guard in setDebugTimeLimit()
Attached
Detach File
Event Timeline
Log In to Comment