~marcustomlinson/v8-cpp/test-gc

« back to all changes in this revision

Viewing changes to src/run.h

  • Committer: Marcus Tomlinson
  • Date: 2015-07-15 13:25:20 UTC
  • mfrom: (18.1.1 trunk)
  • Revision ID: marcus.tomlinson@canonical.com-20150715132520-u40mlpkmrzosh2ky
Revert some changes to fix link errors (lp-1473163)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        isolate->SetData(0, nullptr);
47
47
        isolate->Dispose();
48
48
 
49
 
        internal::v8cpp_script_path_.reset();
 
49
        ///!internal::v8cpp_script_path_.reset();
50
50
    });
51
51
 
52
52
    // Create an isolate scope.
70
70
        std::size_t found = filename.find_last_of("/");
71
71
        if (found != std::string::npos)
72
72
        {
73
 
            internal::v8cpp_script_path_ = std::make_shared<std::string>(filename.substr(0, found) + "/");
 
73
            ///!internal::v8cpp_script_path_ = std::make_shared<std::string>(filename.substr(0, found) + "/");
74
74
        }
75
75
 
76
76
        module.add_function("require", &internal::require);