0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Felix Geisendörfer 66601f13d9 Do not cache modules that throw exceptions
If a module throws an exception on load, it should not be cached.
This patch shows the problem in a test case and also fixes it.

See: https://groups.google.com/forum/#!topic/nodejs-dev/1cIrvJcADbY

Closes GH-707
Closes GH-710
2011-02-24 16:14:04 -08:00
..
_debugger.js debugger: prevent crash when backtrace doesn't come back 2011-01-27 17:44:42 -08:00
_linklist.js factor linklist code into own file 2011-01-18 14:26:32 -08:00
assert.js Lint 2011-01-06 16:06:27 -08:00
buffer.js Closes GH-609 Support array-ish args to Buffer ctor 2011-02-07 14:13:18 -08:00
child_process.js Helpful error when child_process.exec hit maxBuffer 2011-01-27 17:45:17 -08:00
console.js Another fix for process.assert 2011-01-27 16:59:28 -08:00
constants.js more lint 2010-12-01 17:29:11 -08:00
crypto.js TLS: CRL support 2011-02-10 00:49:15 -08:00
dgram.js dgram: setMulticastTTL, setMulticastLoopback and addMembership. 2011-02-01 10:16:48 -08:00
dns.js Fix dns on windows 2011-02-07 15:30:17 -08:00
events.js Print error when EventEmitters get too many listeners 2011-01-10 13:48:35 -08:00
freelist.js more lint 2010-12-01 17:43:30 -08:00
fs.js Closes GH-687 Don't read fs read stream if not open 2011-02-19 16:38:21 -08:00
http.js In addition to 'aborted' emit 'close' from incoming requests 2011-02-24 12:41:51 -08:00
https.js tls fixes 2011-02-07 21:11:43 -08:00
module.js Do not cache modules that throw exceptions 2011-02-24 16:14:04 -08:00
net.js New DTrace probes from CA team 2011-02-09 18:50:26 -08:00
os.js Revert "Implement os.isWindows" 2011-01-13 20:32:36 -08:00
path.js Don't make unnecessary getcwd calls from path.resolve 2011-02-08 14:30:24 -08:00
querystring.js url.parse(url, true) defaults query field to {} 2010-12-20 13:48:44 -08:00
readline.js Readline: fixes, more key bindings 2011-01-24 20:43:50 -08:00
repl.js Make the repl respect node_modules folders. 2011-02-14 13:43:22 -08:00
stream.js Add 'pipe' event 2011-02-09 23:04:35 -08:00
string_decoder.js Fix global leaks 2010-12-04 15:58:50 -08:00
sys.js lint 2010-12-01 20:59:06 -08:00
timers.js Fix debug flag in timers.js 2011-02-04 09:00:21 -08:00
tls.js Revert "Add extra debug print statement to tls.js" 2011-02-24 15:59:40 -08:00
tty_posix.js Support pastes and meta-backspace 2011-01-24 20:42:52 -08:00
tty_win32.js lint 2011-01-24 10:55:30 -08:00
tty.js Implement tty.ReadStream and tty.WriteStream 2011-01-18 23:22:38 -08:00
url.js Lint 2011-01-06 16:06:27 -08:00
util.js Use more color in the repl, loosely inspired by TextMate's SunBurst theme 2010-12-03 16:07:20 -08:00
vm.js lint 2010-12-01 20:59:06 -08:00