Commit 23f66296 authored by Mike Perry's avatar Mike Perry
Browse files

Wrap Ctypes import in a try/catch.

It throws an exception if ctypes is disabled during FF build.
parent c5a14f99
......@@ -8,7 +8,8 @@ const Ci = Components.interfaces;
const Cr = Components.results;
const Cu = Components.utils;
// ctypes can be disabled at build time
try { Cu.import("resource://gre/modules/ctypes.jsm"); } catch(e) {}
XPCOMUtils.defineLazyModuleGetter(this, "TorLauncherUtil",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment